summary.go 816 B

12345678910111213141516171819
  1. package model
  2. type SummaryUserSeeAds struct {
  3. Id int `json:"id" gorm:"primary_key;"`
  4. Date string `json:"date" gorm:"column:date;"`
  5. Count int `json:"count" gorm:"column:count"`
  6. Pf string `json:"pf" gorm:"column:pf"`
  7. Gid string `json:"gid" gorm:"column:gid"`
  8. SumType1 int `json:"sumType1" gorm:"column:sumType1"`
  9. SumType2 int `json:"sumType2" gorm:"column:sumType2"`
  10. SumType0 int `json:"sumType0" gorm:"column:sumType0"`
  11. TodayCount int `json:"todayCount" gorm:"column:todayCount"`
  12. TodaySumType1 int `json:"todaySumType1" gorm:"column:todaySumType1"`
  13. TodaySumType2 int `json:"todaySumType2" gorm:"column:todaySumType2"`
  14. TodaySumType0 int `json:"todaySumType0" gorm:"column:todaySumType0"`
  15. CreatedAt XTime `json:"createdAt" gorm:"column:createdAt;type:date;"`
  16. }