report_day_new_conv.gen.go 2.7 KB

123456789101112131415161718192021222324252627282930313233343536
  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 TableNameReportDayNewConv = "report_day_new_conv"
  6. // ReportDayNewConv mapped from table <report_day_new_conv>
  7. type ReportDayNewConv 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,priority:1" json:"date"`
  10. ChannelID string `gorm:"column:channel_id;type:varchar(128);index:channel_id,priority:1;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;index:date,priority:3;default:1" json:"server_id"` // 服务器ID
  12. Wear1Users int64 `gorm:"column:wear1_users;type:bigint(20) unsigned;not null" json:"wear1_users"`
  13. Wear2Users int64 `gorm:"column:wear2_users;type:bigint(20) unsigned;not null" json:"wear2_users"`
  14. Wear3Users int64 `gorm:"column:wear3_users;type:bigint(20) unsigned;not null" json:"wear3_users"`
  15. FirstChapterUsers int64 `gorm:"column:first_chapter_users;type:bigint(20) unsigned;not null" json:"first_chapter_users"`
  16. Intensify1Users int64 `gorm:"column:intensify1_users;type:bigint(20) unsigned;not null" json:"intensify1_users"`
  17. Intensify2Users int64 `gorm:"column:intensify2_users;type:bigint(20) unsigned;not null" json:"intensify2_users"`
  18. Intensify3Users int64 `gorm:"column:intensify3_users;type:bigint(20) unsigned;not null" json:"intensify3_users"`
  19. Intensify4Users int64 `gorm:"column:intensify4_users;type:bigint(20) unsigned;not null" json:"intensify4_users"`
  20. Wear1Count int64 `gorm:"column:wear1_count;type:bigint(20) unsigned;not null" json:"wear1_count"`
  21. Wear2Count int64 `gorm:"column:wear2_count;type:bigint(20) unsigned;not null" json:"wear2_count"`
  22. Wear3Count int64 `gorm:"column:wear3_count;type:bigint(20) unsigned;not null" json:"wear3_count"`
  23. FirstChapterCount int64 `gorm:"column:first_chapter_count;type:bigint(20) unsigned;not null" json:"first_chapter_count"`
  24. Intensify1Count int64 `gorm:"column:intensify1_count;type:bigint(20) unsigned;not null" json:"intensify1_count"`
  25. Intensify2Count int64 `gorm:"column:intensify2_count;type:bigint(20) unsigned;not null" json:"intensify2_count"`
  26. Intensify3Count int64 `gorm:"column:intensify3_count;type:bigint(20) unsigned;not null" json:"intensify3_count"`
  27. Intensify4Count int64 `gorm:"column:intensify4_count;type:bigint(20) unsigned;not null" json:"intensify4_count"`
  28. }
  29. // TableName ReportDayNewConv's table name
  30. func (*ReportDayNewConv) TableName() string {
  31. return TableNameReportDayNewConv
  32. }