report_day_chapter_pass.gen.go 1.2 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 TableNameReportDayChapterPass = "report_day_chapter_pass"
  6. // ReportDayChapterPass mapped from table <report_day_chapter_pass>
  7. type ReportDayChapterPass 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. Data string `gorm:"column:data;type:json;not null" json:"data"` // 每个章节的通关率 ,json表示
  13. RolesData string `gorm:"column:roles_data;type:json" json:"roles_data"`
  14. Flag int32 `gorm:"column:flag;type:int(11)" json:"flag"`
  15. }
  16. // TableName ReportDayChapterPass's table name
  17. func (*ReportDayChapterPass) TableName() string {
  18. return TableNameReportDayChapterPass
  19. }