audit.go 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. package model
  2. import (
  3. "go-common/library/time"
  4. )
  5. // Content content def.
  6. type Content struct {
  7. ID int64
  8. Title string
  9. Subtitle string
  10. Desc string
  11. Cover string
  12. SeasonID int
  13. CID int
  14. EPID int
  15. MenuID int
  16. State int
  17. Valid int
  18. AuditTime int
  19. PayStatus int
  20. IsDeleted int
  21. Ctime time.Time
  22. Mtime time.Time
  23. InjectTime time.Time
  24. Reason string
  25. }
  26. // TVEpSeason represents the season table
  27. type TVEpSeason struct {
  28. ID int64
  29. OriginName string
  30. Title string
  31. Alias string
  32. Category int8
  33. Desc string
  34. Style string
  35. Area string
  36. PlayTime time.Time
  37. Info int8
  38. State int8
  39. Check int8
  40. TotalNum int32
  41. Upinfo string
  42. Staff string
  43. Role string
  44. Copyright string
  45. Cover string
  46. AuditTime int
  47. IsDeleted int8
  48. Ctime time.Time
  49. Mtime time.Time
  50. Valid int8
  51. InjectTime time.Time
  52. Reason string
  53. }
  54. // Audit def.
  55. type Audit struct {
  56. IDList []*IDList `json:"id_list"`
  57. OpType string `json:"optype"`
  58. Count int `json:"count"`
  59. AuditMsg string `json:"audit_msg"`
  60. }
  61. // Cont : UGC content struct
  62. type Cont struct {
  63. ID int
  64. Title string
  65. }