初始化项目
This commit is contained in:
26
model/entity/stat_report.go
Normal file
26
model/entity/stat_report.go
Normal file
@@ -0,0 +1,26 @@
|
||||
package entity
|
||||
|
||||
import (
|
||||
"time"
|
||||
)
|
||||
|
||||
// StatReport 统计报表实体
|
||||
type StatReport struct {
|
||||
Id int64 `json:"id"` // 主键ID
|
||||
CreatedAt time.Time `json:"createdAt"` // 创建时间
|
||||
UpdatedAt time.Time `json:"updatedAt"` // 更新时间
|
||||
Creator string `json:"creator"` // 创建者
|
||||
Updater string `json:"updater"` // 更新者
|
||||
TenantId int64 `json:"tenantId"` // 租户ID
|
||||
IsDeleted bool `json:"isDeleted"` // 是否删除
|
||||
|
||||
// 报表基本信息
|
||||
AppID int64 `json:"appId"` // 应用ID
|
||||
ReportType string `json:"reportType"` // 报表类型:daily, weekly, monthly, quarterly, yearly
|
||||
ReportDate time.Time `json:"reportDate"` // 报表日期
|
||||
GeneratedAt time.Time `json:"generatedAt"` // 生成时间
|
||||
ReportData string `json:"reportData"` // 报表数据(JSON格式)
|
||||
|
||||
// 状态信息
|
||||
Status string `json:"status"` // 状态:generated, processing, completed
|
||||
}
|
||||
Reference in New Issue
Block a user