20 lines
998 B

  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. // LiveStreams is the golang structure for table live_streams.
  9. type LiveStreams struct {
  10. Id uint64 `json:"id" orm:"id" ` // 主键
  11. Cover string `json:"cover" orm:"cover" ` // 直播封面URL
  12. Title string `json:"title" orm:"title" ` // 直播标题
  13. Avatar string `json:"avatar" orm:"avatar" ` // 主播头像URL
  14. PublisherId uint64 `json:"publisherId" orm:"publisher_id" ` // 主播ID
  15. StartTime *gtime.Time `json:"startTime" orm:"start_time" ` // 计划开播时间
  16. Status int `json:"status" orm:"status" ` // 开播状态(0=未开播,1=直播中)
  17. }