report_day_boss.gen.go 2.5 KB

12345678910111213141516171819202122232425262728293031
  1. // Code generated by gorm.io/gen. DO NOT EDIT.
  2. // Code generated by gorm.io/gen. DO NOT EDIT.
  3. // Code generated by gorm.io/gen. DO NOT EDIT.
  4. package model
  5. const TableNameReportDayBoss = "report_day_boss"
  6. // ReportDayBoss mapped from table <report_day_boss>
  7. type ReportDayBoss struct {
  8. ID int64 `gorm:"column:id;type:bigint(20);primaryKey;autoIncrement:true" json:"id"` // ID
  9. Date string `gorm:"column:date;type:date;not null;index:date,priority:1" json:"date"` // 日期
  10. ChannelID string `gorm:"column:channel_id;type:varchar(128);index:date,priority:2;default:0" json:"channel_id"` // 渠道ID
  11. ServerID int32 `gorm:"column:server_id;type:int(11);not null;index:server_id,priority:1;default:1" json:"server_id"` // 服务器ID
  12. PlayerCount int64 `gorm:"column:player_count;type:bigint(20)" json:"player_count"` // 参与人数
  13. ChallengeCount int64 `gorm:"column:challenge_count;type:bigint(20);not null" json:"challenge_count"` // 总挑战次数
  14. MaxStage int64 `gorm:"column:max_stage;type:bigint(20)" json:"max_stage"` // 最大击退阶段
  15. ReviveCount int64 `gorm:"column:revive_count;type:bigint(20)" json:"revive_count"` // 复活次数
  16. ExchangeData string `gorm:"column:exchange_data;type:mediumtext" json:"exchange_data"` // {领取档位:数量}
  17. RepelCount int32 `gorm:"column:repel_count;type:int(11)" json:"repel_count"` // 查看击退奖励次数
  18. AwardCount int32 `gorm:"column:award_count;type:int(11)" json:"award_count"` // 查看排行榜奖励次数
  19. MinuteMix1 int64 `gorm:"column:minute_mix1;type:bigint(20);not null" json:"minute_mix1"` // 0~1分钟人数
  20. MinuteMix2 int64 `gorm:"column:minute_mix2;type:bigint(20);not null" json:"minute_mix2"` // 1~2分钟人数
  21. MinuteMix3 int64 `gorm:"column:minute_mix3;type:bigint(20);not null" json:"minute_mix3"` // 2分钟以上人数
  22. TotalMinute int64 `gorm:"column:total_minute;type:bigint(20);not null" json:"total_minute"` // 累计时长
  23. }
  24. // TableName ReportDayBoss's table name
  25. func (*ReportDayBoss) TableName() string {
  26. return TableNameReportDayBoss
  27. }