up_play_info.go 1012 B

1234567891011121314151617181920212223242526
  1. package upcrmmodel
  2. import "go-common/library/time"
  3. var (
  4. //BusinessTypeVideo 1
  5. BusinessTypeVideo = 1
  6. //BusinessTypeAudio 2
  7. BusinessTypeAudio = 2
  8. //BusinessTypeArticle 3
  9. BusinessTypeArticle = 3
  10. )
  11. //UpPlayInfo struct
  12. type UpPlayInfo struct {
  13. ID uint32 `gorm:"column:id" json:"-"`
  14. Mid int64 `gorm:"column:mid" json:"mid"`
  15. BusinessType int32 `gorm:"column:business_type" json:"-"`
  16. PlayCountAccumulate int64 `gorm:"column:play_count_accumulate" json:"play_count_accumulate"`
  17. ArticleCount int64 `gorm:"column:article_count" json:"article_count"`
  18. PlayCount90Day int64 `gorm:"column:play_count_90day" json:"play_count_90_day"`
  19. PlayCount30Day int64 `gorm:"column:play_count_30day" json:"play_count_30_day"`
  20. PlayCount7Day int64 `gorm:"column:play_count_7day" json:"play_count_7_day"`
  21. CTime time.Time `gorm:"column:ctime" json:"-"`
  22. MTime time.Time `gorm:"column:mtime" json:"-"`
  23. }