// 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 TableNameReportDayAdvSumm = "report_day_adv_summ"

// ReportDayAdvSumm mapped from table <report_day_adv_summ>
type ReportDayAdvSumm struct {
	ID          int64  `gorm:"column:id;type:bigint(20) unsigned;primaryKey;autoIncrement:true" json:"id"`
	Date        string `gorm:"column:date;type:date;not null;index:date_2,priority:1" json:"date"`                           // 日期
	ChannelID   string `gorm:"column:channel_id;type:varchar(128);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
	Flag        int32  `gorm:"column:flag;type:int(11)" json:"flag"`
	RewardTimes int64  `gorm:"column:reward_times;type:bigint(20) unsigned;not null" json:"reward_times"` // 总曝光次数
	RewardUsers int64  `gorm:"column:reward_users;type:bigint(20) unsigned;not null" json:"reward_users"` // 总曝光人数
	NewTimes    int64  `gorm:"column:new_times;type:bigint(20) unsigned;not null" json:"new_times"`       // 新注册广告次数
	NewUsers    int64  `gorm:"column:new_users;type:bigint(20) unsigned;not null" json:"new_users"`       // 新注册广告人数
	OldTimes    int64  `gorm:"column:old_times;type:bigint(20) unsigned;not null" json:"old_times"`       // 老玩家广告次数
	OldUsers    int64  `gorm:"column:old_users;type:bigint(20) unsigned;not null" json:"old_users"`       // 老玩家广告人数
}

// TableName ReportDayAdvSumm's table name
func (*ReportDayAdvSumm) TableName() string {
	return TableNameReportDayAdvSumm
}
