1234567891011121314151617181920212223 |
- // 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 TableNameReportDayLimitgift = "report_day_limitgift"
- // ReportDayLimitgift mapped from table <report_day_limitgift>
- type ReportDayLimitgift 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
- GoodsID int64 `gorm:"column:goods_id;type:bigint(20);not null" json:"goods_id"` // 商品ID
- ShowCount int64 `gorm:"column:show_count;type:bigint(20)" json:"show_count"` // 出现次数
- PayCount int64 `gorm:"column:pay_count;type:bigint(20)" json:"pay_count"` // 购买次数
- }
- // TableName ReportDayLimitgift's table name
- func (*ReportDayLimitgift) TableName() string {
- return TableNameReportDayLimitgift
- }
|