123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- // Code generated by gorm.io/gen. DO NOT EDIT.
- // Code generated by gorm.io/gen. DO NOT EDIT.
- // Code generated by gorm.io/gen. DO NOT EDIT.
- package model
- const TableNameReportDayBasic = "report_day_basic"
- // ReportDayBasic mapped from table <report_day_basic>
- type ReportDayBasic struct {
- ID int64 `gorm:"column:id;type:bigint(20) unsigned;primaryKey;autoIncrement:true" json:"id"`
- Date string `gorm:"column:date;type:date;not null;uniqueIndex:date,priority:1" json:"date"`
- ChannelID string `gorm:"column:channel_id;type:varchar(128);index:channel_id,priority:1;uniqueIndex:date,priority:2;default:0" json:"channel_id"` // 渠道ID
- Flag int32 `gorm:"column:flag;type:int(11);uniqueIndex:date,priority:4" json:"flag"`
- ServerID int32 `gorm:"column:server_id;type:int(11);not null;index:server_id,priority:1;uniqueIndex:date,priority:3;default:1" json:"server_id"` // 服务器ID
- NewCount int64 `gorm:"column:new_count;type:bigint(20) unsigned;not null" json:"new_count"`
- ValidCount int64 `gorm:"column:valid_count;type:bigint(20) unsigned" json:"valid_count"` // 有效用户
- ActiveCount int64 `gorm:"column:active_count;type:bigint(20) unsigned;not null" json:"active_count"`
- OldCount int64 `gorm:"column:old_count;type:bigint(20) unsigned;not null" json:"old_count"` // 老玩家数量
- NewDuration int64 `gorm:"column:new_duration;type:bigint(20) unsigned;not null" json:"new_duration"` // 新增用户的平均时长
- ValidDuration int64 `gorm:"column:valid_duration;type:bigint(20) unsigned" json:"valid_duration"`
- ActiveDuration int64 `gorm:"column:active_duration;type:bigint(20) unsigned;not null" json:"active_duration"` // 活跃用户的平均时长
- Active1Day int64 `gorm:"column:active_1_day;type:bigint(20) unsigned;not null" json:"active_1_day"`
- Active2Day int64 `gorm:"column:active_2_day;type:bigint(20) unsigned;not null" json:"active_2_day"`
- Active3Day int64 `gorm:"column:active_3_day;type:bigint(20) unsigned;not null" json:"active_3_day"`
- Active4Day int64 `gorm:"column:active_4_day;type:bigint(20) unsigned;not null" json:"active_4_day"`
- Active5Day int64 `gorm:"column:active_5_day;type:bigint(20) unsigned;not null" json:"active_5_day"`
- Active6Day int64 `gorm:"column:active_6_day;type:bigint(20) unsigned;not null" json:"active_6_day"`
- Active7Day int64 `gorm:"column:active_7_day;type:bigint(20) unsigned;not null" json:"active_7_day"`
- Active14Day int64 `gorm:"column:active_14_day;type:bigint(20) unsigned;not null" json:"active_14_day"`
- Active30Day int64 `gorm:"column:active_30_day;type:bigint(20) unsigned;not null" json:"active_30_day"`
- C1 int64 `gorm:"column:c1;type:bigint(20)" json:"c1"`
- C2 int64 `gorm:"column:c2;type:bigint(20)" json:"c2"`
- C3 int64 `gorm:"column:c3;type:bigint(20)" json:"c3"`
- C4 int64 `gorm:"column:c4;type:bigint(20)" json:"c4"`
- C5 int64 `gorm:"column:c5;type:bigint(20)" json:"c5"`
- C6 int64 `gorm:"column:c6;type:bigint(20)" json:"c6"`
- C7 int64 `gorm:"column:c7;type:bigint(20)" json:"c7"`
- C14 int64 `gorm:"column:c14;type:bigint(20)" json:"c14"`
- C30 int64 `gorm:"column:c30;type:bigint(20)" json:"c30"`
- CreatedAt int32 `gorm:"column:created_at;type:int(10) unsigned;not null" json:"created_at"`
- UpdatedAt int32 `gorm:"column:updated_at;type:int(10) unsigned;not null" json:"updated_at"`
- }
- // TableName ReportDayBasic's table name
- func (*ReportDayBasic) TableName() string {
- return TableNameReportDayBasic
- }
|