// 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 TableNameReportDayTreasureChest = "report_day_treasure_chest"

// ReportDayTreasureChest mapped from table <report_day_treasure_chest>
type ReportDayTreasureChest struct {
	ID                  int64  `gorm:"column:id;type:bigint(20);primaryKey;autoIncrement:true" json:"id"`              // ID
	Date                string `gorm:"column:date;type:date;not null" json:"date"`                                     // 日期
	ServerID            int32  `gorm:"column:server_id;type:int(11);not null;default:1" json:"server_id"`              // 服务器ID
	PlayerCountHuangjin int64  `gorm:"column:player_count_huangjin;type:bigint(20)" json:"player_count_huangjin"`      // 黄金参与人数
	PlayerCountBaiyin   int64  `gorm:"column:player_count_baiyin;type:bigint(11)" json:"player_count_baiyin"`          // 白银参与人数
	OpenCountHuangjin   int64  `gorm:"column:open_count_huangjin;type:bigint(20);not null" json:"open_count_huangjin"` // 黄金开启宝箱数量
	OpenCountBaiyin     int64  `gorm:"column:open_count_baiyin;type:bigint(20)" json:"open_count_baiyin"`              // 白银开启宝箱数量
}

// TableName ReportDayTreasureChest's table name
func (*ReportDayTreasureChest) TableName() string {
	return TableNameReportDayTreasureChest
}
