report_day_idiom.gen.go 2.4 KB

123456789101112131415161718192021222324252627282930
  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 TableNameReportDayIdiom = "report_day_idiom"
  6. // ReportDayIdiom mapped from table <report_day_idiom>
  7. type ReportDayIdiom 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. BreakCount int64 `gorm:"column:break_count;type:bigint(20)" json:"break_count"` // 闯关次数
  14. TipsCount int64 `gorm:"column:tips_count;type:bigint(20)" json:"tips_count"` // 使用锦囊次数
  15. IntegralCount int64 `gorm:"column:integral_count;type:bigint(20)" json:"integral_count"` // 全部积分数量
  16. GearData string `gorm:"column:gear_data;type:mediumtext" json:"gear_data"` // {领取档位:数量}
  17. ReceiveCount int64 `gorm:"column:receive_count;type:bigint(20)" json:"receive_count"` // 累计领取奖励次数
  18. InkAdvCount int64 `gorm:"column:ink_adv_count;type:bigint(20)" json:"ink_adv_count"` // 看广告获得墨水次数
  19. InkDrillCount int64 `gorm:"column:ink_drill_count;type:bigint(20)" json:"ink_drill_count"` // 钻石获得墨水次数
  20. RankingCount int64 `gorm:"column:ranking_count;type:bigint(20)" json:"ranking_count"` // 查看排行榜次数
  21. AwardCount int64 `gorm:"column:award_count;type:bigint(20)" json:"award_count"` // 查看排行榜奖励次数
  22. }
  23. // TableName ReportDayIdiom's table name
  24. func (*ReportDayIdiom) TableName() string {
  25. return TableNameReportDayIdiom
  26. }