report_day_expedition.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 TableNameReportDayExpedition = "report_day_expedition"
  6. // ReportDayExpedition mapped from table <report_day_expedition>
  7. type ReportDayExpedition struct {
  8. ID int64 `gorm:"column:id;type:bigint(20);primaryKey;autoIncrement:true" json:"id"` // ID
  9. Date string `gorm:"column:date;type:date;primaryKey;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) unsigned" json:"player_count"` // 参与人数
  13. BreakCount int64 `gorm:"column:break_count;type:bigint(20)" json:"break_count"` // 闯关次数
  14. FailData string `gorm:"column:fail_data;type:mediumtext" json:"fail_data"` // 闯关失败列表
  15. SweepCount int64 `gorm:"column:sweep_count;type:bigint(20)" json:"sweep_count"` // 扫荡次数
  16. StarsAdvCount int64 `gorm:"column:stars_adv_count;type:bigint(20)" json:"stars_adv_count"` // 看广告获取星石次数
  17. StarsDrillCount int64 `gorm:"column:stars_drill_count;type:bigint(20)" json:"stars_drill_count"` // 钻石购买获得星石次数
  18. OutputData string `gorm:"column:output_data;type:mediumtext" json:"output_data"` // 产出物品和数量
  19. }
  20. // TableName ReportDayExpedition's table name
  21. func (*ReportDayExpedition) TableName() string {
  22. return TableNameReportDayExpedition
  23. }