You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
1.5 KiB

  1. // =================================================================================
  2. // Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
  3. // =================================================================================
  4. package entity
  5. import (
  6. "github.com/gogf/gf/v2/os/gtime"
  7. )
  8. // Shows is the golang structure for table shows.
  9. type Shows struct {
  10. Id uint64 `json:"id" orm:"id" ` // 主键
  11. Cover string `json:"cover" orm:"cover" ` // 封面图URL
  12. Title string `json:"title" orm:"title" ` // 标题
  13. PublisherId uint64 `json:"publisherId" orm:"publisher_id" ` // 发布人ID
  14. PublisherAvatar string `json:"publisherAvatar" orm:"publisher_avatar" ` // 发布人头像URL
  15. PublishTime *gtime.Time `json:"publishTime" orm:"publish_time" ` // 发布时间
  16. ViewCount uint `json:"viewCount" orm:"view_count" ` // 观看人数
  17. CommentCount uint `json:"commentCount" orm:"comment_count" ` // 评论数
  18. LikeCount uint `json:"likeCount" orm:"like_count" ` // 点赞数
  19. Type int `json:"type" orm:"type" ` // 类型(1=文章,2=视频)
  20. ClubId int `json:"clubId" orm:"club_id" ` // 所属俱乐部(0=无,1=博古)
  21. VideoDuration uint `json:"videoDuration" orm:"video_duration" ` // 视频时长(秒)
  22. }