gomod引用
This commit is contained in:
@@ -2,19 +2,17 @@ package entity
|
||||
|
||||
import (
|
||||
"time"
|
||||
|
||||
"gitee.com/red-future---jilin-g/common/do"
|
||||
)
|
||||
|
||||
const StatReportCollection = "stat_report"
|
||||
|
||||
// StatReport 统计报表实体
|
||||
type StatReport struct {
|
||||
Id string `json:"_id,omitempty" bson:"_id,omitempty"` // 主键ID
|
||||
CreatedAt time.Time `json:"createdAt"` // 创建时间
|
||||
UpdatedAt time.Time `json:"updatedAt"` // 更新时间
|
||||
Creator string `json:"creator"` // 创建者
|
||||
Updater string `json:"updater"` // 更新者
|
||||
IsDeleted bool `json:"isDeleted"` // 是否删除
|
||||
do.MongoBaseDO `bson:",inline" json:",inline"` // 嵌入基础字段:Id, Creator, CreatedAt, Updater, UpdatedAt, TenantId, IsDeleted
|
||||
|
||||
// 报表基本信息
|
||||
TenantId int64 `json:"tenantId"` // 租户ID
|
||||
AppID string `json:"appId"` // 应用ID (空字符串表示所有应用)
|
||||
ReportType string `json:"reportType"` // 报表类型:daily, weekly, monthly, quarterly, yearly
|
||||
ReportDate time.Time `json:"reportDate"` // 报表日期
|
||||
|
||||
Reference in New Issue
Block a user