// 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 TableNameReportDayIdiom = "report_day_idiom"

// ReportDayIdiom mapped from table <report_day_idiom>
type ReportDayIdiom 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)" json:"player_count"`                                      // 参与人数
	BreakCount    int64  `gorm:"column:break_count;type:bigint(20)" json:"break_count"`                                        // 闯关次数
	TipsCount     int64  `gorm:"column:tips_count;type:bigint(20)" json:"tips_count"`                                          // 使用锦囊次数
	IntegralCount int64  `gorm:"column:integral_count;type:bigint(20)" json:"integral_count"`                                  // 全部积分数量
	GearData      string `gorm:"column:gear_data;type:mediumtext" json:"gear_data"`                                            // {领取档位:数量}
	ReceiveCount  int64  `gorm:"column:receive_count;type:bigint(20)" json:"receive_count"`                                    // 累计领取奖励次数
	InkAdvCount   int64  `gorm:"column:ink_adv_count;type:bigint(20)" json:"ink_adv_count"`                                    // 看广告获得墨水次数
	InkDrillCount int64  `gorm:"column:ink_drill_count;type:bigint(20)" json:"ink_drill_count"`                                // 钻石获得墨水次数
	RankingCount  int64  `gorm:"column:ranking_count;type:bigint(20)" json:"ranking_count"`                                    // 查看排行榜次数
	AwardCount    int64  `gorm:"column:award_count;type:bigint(20)" json:"award_count"`                                        // 查看排行榜奖励次数
}

// TableName ReportDayIdiom's table name
func (*ReportDayIdiom) TableName() string {
	return TableNameReportDayIdiom
}
