model.go 573 B

1234567891011121314151617181920212223242526272829303132
  1. package model
  2. import (
  3. xtime "go-common/library/time"
  4. )
  5. // RecommendVideoState 所有进推荐池的新发视频
  6. var RecommendVideoState = []string{"5", "4", "3", "1", "0"}
  7. // HDFSResult .
  8. type HDFSResult struct {
  9. Code int16 `json:"code"`
  10. Msg string `json:"msg"`
  11. Result []string `json:"result"`
  12. }
  13. // Video .
  14. type Video struct {
  15. SVID int64
  16. Title string
  17. Content string
  18. MID int64
  19. AVID int64
  20. CID int64
  21. PubTime xtime.Time
  22. CTime xtime.Time
  23. MTime xtime.Time
  24. Duration int32
  25. State int16
  26. TID int32
  27. SubTID int32
  28. }