12345678910111213141516171819202122232425262728293031 |
- // 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 TableNameReportDayBoss = "report_day_boss"
- // ReportDayBoss mapped from table <report_day_boss>
- type ReportDayBoss struct {
- ID int64 `gorm:"column:id;type:bigint(20);primaryKey;autoIncrement:true" json:"id"` // ID
- Date string `gorm:"column:date;type:date;not null;index:date,priority:1" json:"date"` // 日期
- ChannelID string `gorm:"column:channel_id;type:varchar(128);index:date,priority:2;default:0" json:"channel_id"` // 渠道ID
- ServerID int32 `gorm:"column:server_id;type:int(11);not null;index:server_id,priority:1;default:1" json:"server_id"` // 服务器ID
- PlayerCount int64 `gorm:"column:player_count;type:bigint(20)" json:"player_count"` // 参与人数
- ChallengeCount int64 `gorm:"column:challenge_count;type:bigint(20);not null" json:"challenge_count"` // 总挑战次数
- MaxStage int64 `gorm:"column:max_stage;type:bigint(20)" json:"max_stage"` // 最大击退阶段
- ReviveCount int64 `gorm:"column:revive_count;type:bigint(20)" json:"revive_count"` // 复活次数
- ExchangeData string `gorm:"column:exchange_data;type:mediumtext" json:"exchange_data"` // {领取档位:数量}
- RepelCount int32 `gorm:"column:repel_count;type:int(11)" json:"repel_count"` // 查看击退奖励次数
- AwardCount int32 `gorm:"column:award_count;type:int(11)" json:"award_count"` // 查看排行榜奖励次数
- MinuteMix1 int64 `gorm:"column:minute_mix1;type:bigint(20);not null" json:"minute_mix1"` // 0~1分钟人数
- MinuteMix2 int64 `gorm:"column:minute_mix2;type:bigint(20);not null" json:"minute_mix2"` // 1~2分钟人数
- MinuteMix3 int64 `gorm:"column:minute_mix3;type:bigint(20);not null" json:"minute_mix3"` // 2分钟以上人数
- TotalMinute int64 `gorm:"column:total_minute;type:bigint(20);not null" json:"total_minute"` // 累计时长
- }
- // TableName ReportDayBoss's table name
- func (*ReportDayBoss) TableName() string {
- return TableNameReportDayBoss
- }
|