AuthorVideo.java 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. package com.nosum.deliver.author.domain.po;
  2. import lombok.Data;
  3. import org.bson.types.ObjectId;
  4. import org.springframework.data.annotation.Id;
  5. import org.springframework.data.mongodb.core.mapping.Document;
  6. import java.time.LocalDateTime;
  7. /**
  8. * 作者发布的视频.
  9. *
  10. * @author Young
  11. */
  12. @Data
  13. @Document("author_video")
  14. public class AuthorVideo {
  15. @Id
  16. private ObjectId id;
  17. /**
  18. * 简介
  19. */
  20. private String desc;
  21. /**
  22. * 视频链接
  23. */
  24. private String link;
  25. /**
  26. * feedId
  27. */
  28. private String feedId;
  29. /**
  30. * 作者
  31. */
  32. private String finderUin;
  33. /**
  34. * 状态
  35. * 0 未投放
  36. * 1 投放中
  37. * 2 取消投放
  38. */
  39. private Integer status;
  40. /**
  41. * 发布时间
  42. */
  43. private LocalDateTime sendTime;
  44. /**
  45. * 曝光次数
  46. */
  47. private Integer exposureCount;
  48. /**
  49. * 点赞次数
  50. */
  51. private Integer likeCount;
  52. /**
  53. * 完整播放次数
  54. */
  55. private Integer playCount;
  56. /**
  57. * 关注次数
  58. */
  59. private Integer followCount;
  60. /**
  61. * 收藏次数
  62. */
  63. private Integer collectCount;
  64. /**
  65. * 评论次数
  66. */
  67. private Integer commentCount;
  68. /**
  69. * 投放标签
  70. */
  71. private String putTag;
  72. /**
  73. * 投放城市
  74. */
  75. private String putCity;
  76. /**
  77. * 投放性别
  78. */
  79. private Integer putGender;
  80. /**
  81. * 投放人
  82. */
  83. private String putUser;
  84. /**
  85. * 是否已投放
  86. */
  87. private Integer isPut;
  88. }