report_day_first_adv.gen.go 1.4 KB

1234567891011121314151617181920212223242526
  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 TableNameReportDayFirstAdv = "report_day_first_adv"
  6. // ReportDayFirstAdv mapped from table <report_day_first_adv>
  7. type ReportDayFirstAdv struct {
  8. ID int64 `gorm:"column:id;type:bigint(20) unsigned;primaryKey;autoIncrement:true" json:"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:channel_id,priority:1;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;index:date,priority:3;default:1" json:"server_id"` // 服务器ID
  12. Goto int64 `gorm:"column:goto;type:bigint(20) unsigned;not null" json:"goto"`
  13. A int64 `gorm:"column:a;type:bigint(20) unsigned;not null" json:"a"`
  14. B int64 `gorm:"column:b;type:bigint(20) unsigned;not null" json:"b"`
  15. C int64 `gorm:"column:c;type:bigint(20) unsigned;not null" json:"c"`
  16. Waive int64 `gorm:"column:waive;type:bigint(20) unsigned;not null" json:"waive"`
  17. EquipNow int64 `gorm:"column:equip_now;type:bigint(20) unsigned;not null" json:"equip_now"`
  18. }
  19. // TableName ReportDayFirstAdv's table name
  20. func (*ReportDayFirstAdv) TableName() string {
  21. return TableNameReportDayFirstAdv
  22. }