report_day_gudong.gen.go 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637
  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 TableNameReportDayGudong = "report_day_gudong"
  6. // ReportDayGudong mapped from table <report_day_gudong>
  7. type ReportDayGudong struct {
  8. ID int64 `gorm:"column:id;type:bigint(20);primaryKey;autoIncrement:true" json:"id"`
  9. Date string `gorm:"column:date;type:date;not null;index:date,priority:1" json:"date"`
  10. ChannelID string `gorm:"column:channel_id;type:varchar(128);index:date,priority:2;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. PlayerCount int64 `gorm:"column:player_count;type:bigint(20) unsigned" json:"player_count"` // 参与人数
  13. JingliCount int64 `gorm:"column:jingli_count;type:bigint(20)" json:"jingli_count"` // 消耗精力数
  14. AdJingli int64 `gorm:"column:ad_jingli;type:bigint(20)" json:"ad_jingli"` // 看广告获取精力次数
  15. DiamondJingli int64 `gorm:"column:diamond_jingli;type:bigint(20)" json:"diamond_jingli"` // 钻石获取精力次数
  16. AdDiamond int64 `gorm:"column:ad_diamond;type:bigint(20)" json:"ad_diamond"` // 人民币获取精力次数
  17. RmbDiamond int64 `gorm:"column:rmb_diamond;type:bigint(20)" json:"rmb_diamond"` // 人民币获取精力次数
  18. SpeedUpBox int64 `gorm:"column:speed_up_box;type:bigint(20)" json:"speed_up_box"` // 加速宝箱次数
  19. SpeedUpBoxDetail string `gorm:"column:speed_up_box_detail;type:varchar(255)" json:"speed_up_box_detail"` // 加速宝箱明细(宝箱类型,次数)
  20. IdentifyGoods int64 `gorm:"column:identify_goods;type:bigint(20)" json:"identify_goods"` // 古玩鉴定次数
  21. UpgradeGoods int64 `gorm:"column:upgrade_goods;type:bigint(20)" json:"upgrade_goods"` // 古玩升级次数
  22. ShowRevenue int64 `gorm:"column:show_revenue;type:bigint(20)" json:"show_revenue"` // 展览收益
  23. Ranking int64 `gorm:"column:ranking;type:bigint(20)" json:"ranking"` // 排行榜
  24. RankingBenifit int64 `gorm:"column:ranking_benifit;type:bigint(20)" json:"ranking_benifit"` // 排行榜奖励
  25. ExchangeGoods string `gorm:"column:exchange_goods;type:text" json:"exchange_goods"` // 物品兑换
  26. SellGoods int64 `gorm:"column:sell_goods;type:bigint(20)" json:"sell_goods"` // 出售物品
  27. GetGoods int64 `gorm:"column:get_goods;type:bigint(20)" json:"get_goods"` // 获取物品
  28. GetGoodsDetail string `gorm:"column:get_goods_detail;type:text" json:"get_goods_detail"` // 获取物品
  29. }
  30. // TableName ReportDayGudong's table name
  31. func (*ReportDayGudong) TableName() string {
  32. return TableNameReportDayGudong
  33. }