report_day_treasure_chest.gen.go 1.4 KB

1234567891011121314151617181920212223
  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 TableNameReportDayTreasureChest = "report_day_treasure_chest"
  6. // ReportDayTreasureChest mapped from table <report_day_treasure_chest>
  7. type ReportDayTreasureChest 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" json:"date"` // 日期
  10. ServerID int32 `gorm:"column:server_id;type:int(11);not null;default:1" json:"server_id"` // 服务器ID
  11. PlayerCountHuangjin int64 `gorm:"column:player_count_huangjin;type:bigint(20)" json:"player_count_huangjin"` // 黄金参与人数
  12. PlayerCountBaiyin int64 `gorm:"column:player_count_baiyin;type:bigint(11)" json:"player_count_baiyin"` // 白银参与人数
  13. OpenCountHuangjin int64 `gorm:"column:open_count_huangjin;type:bigint(20);not null" json:"open_count_huangjin"` // 黄金开启宝箱数量
  14. OpenCountBaiyin int64 `gorm:"column:open_count_baiyin;type:bigint(20)" json:"open_count_baiyin"` // 白银开启宝箱数量
  15. }
  16. // TableName ReportDayTreasureChest's table name
  17. func (*ReportDayTreasureChest) TableName() string {
  18. return TableNameReportDayTreasureChest
  19. }