// 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 TableNameReportDayTreasure = "report_day_treasure"

// ReportDayTreasure mapped from table <report_day_treasure>
type ReportDayTreasure struct {
	ID          int64  `gorm:"column:id;type:bigint(20);primaryKey;autoIncrement:true" json:"id"`                            // 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: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;default:1" json:"server_id"` // 服务器ID
	PlayerCount int64  `gorm:"column:player_count;type:bigint(20);not null" json:"player_count"`                             // 获得宝物碎片人数
	Output      string `gorm:"column:output;type:json" json:"output"`                                                        // 产出
}

// TableName ReportDayTreasure's table name
func (*ReportDayTreasure) TableName() string {
	return TableNameReportDayTreasure
}
