// 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 TableNameReportDayDuel = "report_day_duel"

// ReportDayDuel mapped from table <report_day_duel>
type ReportDayDuel 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         int64  `gorm:"column:server_id;type:bigint(20);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"`                                         // 参与人数
	RefreshCount     int64  `gorm:"column:refresh_count;type:bigint(20)" json:"refresh_count"`                                       // 刷新对手
	DuelCount        int64  `gorm:"column:duel_count;type:bigint(20)" json:"duel_count"`                                             // 对决次数
	DuelFreeCount    int64  `gorm:"column:duel_free_count;type:bigint(20)" json:"duel_free_count"`                                   // 免费对决次数
	DuelBattleCount  int64  `gorm:"column:duel_battle_count;type:bigint(20)" json:"duel_battle_count"`                               // 战帖对决次数
	DuelRevengeCount int64  `gorm:"column:duel_revenge_count;type:bigint(20)" json:"duel_revenge_count"`                             // 复仇对决次数
	BattleAdvCount   int64  `gorm:"column:battle_adv_count;type:bigint(20)" json:"battle_adv_count"`                                 // 看广告获得战帖次数
	BattleDrillCount int64  `gorm:"column:battle_drill_count;type:bigint(20)" json:"battle_drill_count"`                             // 钻石获得战帖次数
	AdjustmentCount  int64  `gorm:"column:adjustment_count;type:bigint(20)" json:"adjustment_count"`                                 // 调整角色
	RevengeCount     int64  `gorm:"column:revenge_count;type:bigint(20)" json:"revenge_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 ReportDayDuel's table name
func (*ReportDayDuel) TableName() string {
	return TableNameReportDayDuel
}
