report_day_limitgift.gen.go 1.4 KB

1234567891011121314151617181920212223
  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 TableNameReportDayLimitgift = "report_day_limitgift"
  6. // ReportDayLimitgift mapped from table <report_day_limitgift>
  7. type ReportDayLimitgift struct {
  8. ID int64 `gorm:"column:id;type:bigint(20);primaryKey;autoIncrement:true" json:"id"` // 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 int64 `gorm:"column:server_id;type:bigint(20);not null;index:server_id,priority:1;default:1" json:"server_id"` // 服务器ID
  12. GoodsID int64 `gorm:"column:goods_id;type:bigint(20);not null" json:"goods_id"` // 商品ID
  13. ShowCount int64 `gorm:"column:show_count;type:bigint(20)" json:"show_count"` // 出现次数
  14. PayCount int64 `gorm:"column:pay_count;type:bigint(20)" json:"pay_count"` // 购买次数
  15. }
  16. // TableName ReportDayLimitgift's table name
  17. func (*ReportDayLimitgift) TableName() string {
  18. return TableNameReportDayLimitgift
  19. }