// Code generated by gorm.io/gen. DO NOT EDIT.
// Code generated by gorm.io/gen. DO NOT EDIT.
// Code generated by gorm.io/gen. DO NOT EDIT.

package model

const TableNameReportDayFirstAdv = "report_day_first_adv"

// ReportDayFirstAdv mapped from table <report_day_first_adv>
type ReportDayFirstAdv struct {
	ID        int64  `gorm:"column:id;type:bigint(20) unsigned;primaryKey;autoIncrement:true" json:"id"`
	Date      string `gorm:"column:date;type:date;not null;index:date,priority:1" json:"date"`
	ChannelID string `gorm:"column:channel_id;type:varchar(128);index:channel_id,priority:1;index:date,priority:2;default:0" json:"channel_id"`  // 渠道ID
	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
	Goto      int64  `gorm:"column:goto;type:bigint(20) unsigned;not null" json:"goto"`
	A         int64  `gorm:"column:a;type:bigint(20) unsigned;not null" json:"a"`
	B         int64  `gorm:"column:b;type:bigint(20) unsigned;not null" json:"b"`
	C         int64  `gorm:"column:c;type:bigint(20) unsigned;not null" json:"c"`
	Waive     int64  `gorm:"column:waive;type:bigint(20) unsigned;not null" json:"waive"`
	EquipNow  int64  `gorm:"column:equip_now;type:bigint(20) unsigned;not null" json:"equip_now"`
}

// TableName ReportDayFirstAdv's table name
func (*ReportDayFirstAdv) TableName() string {
	return TableNameReportDayFirstAdv
}
