report_day_grandmaster.gen.go 2.0 KB

123456789101112131415161718192021222324252627
  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 TableNameReportDayGrandmaster = "report_day_grandmaster"
  6. // ReportDayGrandmaster mapped from table <report_day_grandmaster>
  7. type ReportDayGrandmaster 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);not null" json:"player_count"` // 参与人数
  13. OpenPlayerCount int64 `gorm:"column:open_player_count;type:bigint(20)" json:"open_player_count"` // 活动开放玩家数量
  14. PartCount int64 `gorm:"column:part_count;type:bigint(20)" json:"part_count"` // 参与次数
  15. AllMatchSeconds int64 `gorm:"column:all_match_seconds;type:bigint(20)" json:"all_match_seconds"` // 总匹配时长
  16. LeaveUsers int64 `gorm:"column:leave_users;type:bigint(20)" json:"leave_users"` // 离开人数
  17. BattleWavesCount int64 `gorm:"column:battle_waves_count;type:bigint(20)" json:"battle_waves_count"` // 战斗波数
  18. AllBattleSeconds int64 `gorm:"column:all_battle_seconds;type:bigint(20)" json:"all_battle_seconds"` // 总战斗时长
  19. }
  20. // TableName ReportDayGrandmaster's table name
  21. func (*ReportDayGrandmaster) TableName() string {
  22. return TableNameReportDayGrandmaster
  23. }