report_day_treasure.gen.go 1.2 KB

12345678910111213141516171819202122
  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 TableNameReportDayTreasure = "report_day_treasure"
  6. // ReportDayTreasure mapped from table <report_day_treasure>
  7. type ReportDayTreasure 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. Output string `gorm:"column:output;type:json" json:"output"` // 产出
  14. }
  15. // TableName ReportDayTreasure's table name
  16. func (*ReportDayTreasure) TableName() string {
  17. return TableNameReportDayTreasure
  18. }