package entity import "github.com/gogf/gf/v2/os/gtime" // ModelGatewayLogsStatCol 字段常量 type ModelGatewayLogsStatCol struct { Day string TenantId string Creator string ModelName string RequestCount string CreatedAt string UpdatedAt string } var ModelGatewayLogsStatCols = ModelGatewayLogsStatCol{ Day: "day", TenantId: "tenant_id", Creator: "creator", ModelName: "model_name", RequestCount: "request_count", CreatedAt: "created_at", UpdatedAt: "updated_at", } // ModelGatewayLogsStat 按天统计 type ModelGatewayLogsStat struct { Day *gtime.Time `orm:"day" json:"day"` TenantId uint64 `orm:"tenant_id" json:"tenantId"` Creator string `orm:"creator" json:"creator"` ModelName string `orm:"model_name" json:"modelName"` RequestCount int64 `orm:"request_count" json:"requestCount"` CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` }