// 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 TableNameReportDayExpedition = "report_day_expedition"

// ReportDayExpedition mapped from table <report_day_expedition>
type ReportDayExpedition struct {
	ID              int64  `gorm:"column:id;type:bigint(20);primaryKey;autoIncrement:true" json:"id"`                            // ID
	Date            string `gorm:"column:date;type:date;primaryKey;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) unsigned" json:"player_count"`                             // 参与人数
	BreakCount      int64  `gorm:"column:break_count;type:bigint(20)" json:"break_count"`                                        // 闯关次数
	FailData        string `gorm:"column:fail_data;type:mediumtext" json:"fail_data"`                                            // 闯关失败列表
	SweepCount      int64  `gorm:"column:sweep_count;type:bigint(20)" json:"sweep_count"`                                        // 扫荡次数
	StarsAdvCount   int64  `gorm:"column:stars_adv_count;type:bigint(20)" json:"stars_adv_count"`                                // 看广告获取星石次数
	StarsDrillCount int64  `gorm:"column:stars_drill_count;type:bigint(20)" json:"stars_drill_count"`                            // 钻石购买获得星石次数
	OutputData      string `gorm:"column:output_data;type:mediumtext" json:"output_data"`                                        // 产出物品和数量
}

// TableName ReportDayExpedition's table name
func (*ReportDayExpedition) TableName() string {
	return TableNameReportDayExpedition
}
