You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
649 B
16 lines
649 B
package model
|
|
|
|
import "pure-admin/global"
|
|
|
|
type StatisticMissionDaily struct { // 数据统计-任务
|
|
global.MG_MODEL
|
|
Type string `gorm:"size:20" json:"type"` //类型 total:累计数据 daily:单日数据
|
|
Date string `gorm:"size:20" json:"date"` // 日期 eg:2023-10-20(按天统计)
|
|
ReleaseNum int64 `gorm:"type:bigint" json:"release_num"` // 任务发布数
|
|
ClaimNum int64 `gorm:"type:bigint" json:"claim_num"` // 领取任务数
|
|
WorksNum int64 `gorm:"type:bigint" json:"works_num"` // 发布作品数
|
|
}
|
|
|
|
func (StatisticMissionDaily) TableName() string {
|
|
return "statistic_mission_daily"
|
|
}
|
|
|