report_day_adv_summ.gen.go 1.7 KB

123456789101112131415161718192021222324252627
  1. // Code generated by gorm.io/gen. DO NOT EDIT.
  2. // Code generated by gorm.io/gen. DO NOT EDIT.
  3. // Code generated by gorm.io/gen. DO NOT EDIT.
  4. package model
  5. const TableNameReportDayAdvSumm = "report_day_adv_summ"
  6. // ReportDayAdvSumm mapped from table <report_day_adv_summ>
  7. type ReportDayAdvSumm struct {
  8. ID int64 `gorm:"column:id;type:bigint(20) unsigned;primaryKey;autoIncrement:true" json:"id"`
  9. Date string `gorm:"column:date;type:date;not null;index:date_2,priority:1" json:"date"` // 日期
  10. ChannelID string `gorm:"column:channel_id;type:varchar(128);default:0" json:"channel_id"` // 渠道ID
  11. ServerID int32 `gorm:"column:server_id;type:int(11);not null;index:server_id,priority:1;default:1" json:"server_id"` // 服务器ID
  12. Flag int32 `gorm:"column:flag;type:int(11)" json:"flag"`
  13. RewardTimes int64 `gorm:"column:reward_times;type:bigint(20) unsigned;not null" json:"reward_times"` // 总曝光次数
  14. RewardUsers int64 `gorm:"column:reward_users;type:bigint(20) unsigned;not null" json:"reward_users"` // 总曝光人数
  15. NewTimes int64 `gorm:"column:new_times;type:bigint(20) unsigned;not null" json:"new_times"` // 新注册广告次数
  16. NewUsers int64 `gorm:"column:new_users;type:bigint(20) unsigned;not null" json:"new_users"` // 新注册广告人数
  17. OldTimes int64 `gorm:"column:old_times;type:bigint(20) unsigned;not null" json:"old_times"` // 老玩家广告次数
  18. OldUsers int64 `gorm:"column:old_users;type:bigint(20) unsigned;not null" json:"old_users"` // 老玩家广告人数
  19. }
  20. // TableName ReportDayAdvSumm's table name
  21. func (*ReportDayAdvSumm) TableName() string {
  22. return TableNameReportDayAdvSumm
  23. }