| | |
| | | |
| | | |
| | | /** |
| | | * 视频直播表 实体 |
| | | * 视频直播表 实体 |
| | | * @author ody.yuan |
| | | * |
| | | */ |
| | |
| | | */ |
| | | private static final long serialVersionUID = -313139100670956005L; |
| | | |
| | | /** 草稿,新增直播默认状态 */ |
| | | /** 草稿,新增直播默认状态 */ |
| | | public static final short STATUS_LIVE_DRAFT = 0; |
| | | |
| | | /** 预告,当前不在直播状态 */ |
| | | /** 预告,当前不在直播状态 */ |
| | | public static final short STATUS_LIVE_ORDER = 1; |
| | | |
| | | /** 直播 中,正在直播*/ |
| | | /** 直播 中,正在直播*/ |
| | | public static final short STATUS_LIVE_LIVE = 2; |
| | | |
| | | /** 回放 */ |
| | | /** 回放 */ |
| | | public static final short STATUS_LIVE_REVIEW = 3; |
| | | |
| | | /** 废弃,后台查询不到网易直播的房间信息状态 */ |
| | | /** 废弃,后台查询不到网易直播的房间信息状态 */ |
| | | public static final short STATUS_LIVE_TAKEOFF = 4; |
| | | |
| | | /** 暂停 ,直播中的暂停状态*/ |
| | | /** 暂停 ,直播中的暂停状态*/ |
| | | public static final short STATUS_LIVE_PAUSE = 5; |
| | | |
| | | /** 回放下载中 ,下载完成后才是回放状态*/ |
| | | /** 回放下载中 ,下载完成后才是回放状态*/ |
| | | public static final short STATUS_LIVE_DOWNLOAD = 6; |
| | | |
| | | /** 回放下载失败*/ |
| | | /** 回放下载失败*/ |
| | | public static final short STATUS_LIVE_DOWNLOAD_ERROR = 8; |
| | | |
| | | /** 回放下载成功*/ |
| | | /** 回放下载成功*/ |
| | | public static final short STATUS_LIVE_DOWNLOAD_SUCCESS = 7; |
| | | |
| | | /** 停止直播*/ |
| | | /** 停止直播*/ |
| | | public static final short STATUS_LIVE_STOP = 9; |
| | | |
| | | /** 待编辑状态*/ |
| | | /** 待编辑状态*/ |
| | | public static final short STATUS_LIVE_PREPARED = 10; |
| | | |
| | | /** 预处理失败*/ |
| | | /** 预处理失败*/ |
| | | public static final short STATUS_LIVE_PREPARE_FAILD = 11; |
| | | |
| | | /** 编辑准备中*/ |
| | | /** 编辑准备中*/ |
| | | public static final short STATUS_LIVE_PREPARED_READY = 12; |
| | | |
| | | /** 仅限班级 */ |
| | | /** 仅限班级 */ |
| | | public static final String PERMISSION_STATUS_LIMITCLASS = "limitClass"; |
| | | |
| | | /** 公开 */ |
| | | /** 公开 */ |
| | | public static final String PERMISSION_STATUS_PUBLIC = "public"; |
| | | |
| | | /** 仅限机构 */ |
| | | /** 仅限机构 */ |
| | | public static final String PERMISSION_STATUS_LIMITORG = "limitOrg"; |
| | | |
| | | /** 预约观看 */ |
| | | /** 预约观看 */ |
| | | public static final String PERMISSION_STATUS_ORDERWATCH = "orderWatch"; |
| | | |
| | | /** 直播 */ |
| | | /** 直播 */ |
| | | public static final int TYPE_LIVE_LIVE = 1; |
| | | |
| | | /** 回放 */ |
| | | /** 回放 */ |
| | | public static final int TYPE_LIVE_DOWNLOAD = 2; |
| | | |
| | | /** 主键 */ |
| | | /** 主键 */ |
| | | @Id |
| | | @GeneratedValue(generator = "hibernate-uuid") |
| | | @GenericGenerator(name = "hibernate-uuid", strategy = "uuid") |
| | | @Column(name="VIDEO_LIVE_ID", unique=true, nullable=false, length=32) |
| | | private String videoLiveId; |
| | | |
| | | /** 创建者ID */ |
| | | /** 创建者ID */ |
| | | @Column(name="CREATE_ID", length=32) |
| | | private String createId; |
| | | |
| | | /** 创建时间 */ |
| | | /** 创建时间 */ |
| | | @Column(name="CREATE_TIME", nullable=false) |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | private Date createTime; |
| | | |
| | | /** 创建人 */ |
| | | /** 创建人 */ |
| | | @Column(name="CREATOR", length=100) |
| | | private String creator; |
| | | |
| | | /** 删除标志 */ |
| | | /** 删除标志 */ |
| | | @Column(name="DELETE_FLAG", nullable=false) |
| | | private boolean deleteFlag; |
| | | |
| | | /** 是否自动生成回放(0、是,1、否。默认为0) */ |
| | | /** 是否自动生成回放(0、是,1、否。默认为0) */ |
| | | @Column(name="EDIT_REPLAY_FLAG", nullable=false) |
| | | private boolean editReplayFlag; |
| | | |
| | | /** 修改人ID */ |
| | | /** 修改人ID */ |
| | | @Column(name="UPDATE_ID", length=32) |
| | | private String updateId; |
| | | |
| | | /** 修改时间 */ |
| | | /** 修改时间 */ |
| | | @Column(name="UPDATE_TIME", nullable=false) |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | private Date updateTime; |
| | | |
| | | /** 修改人 */ |
| | | /** 修改人 */ |
| | | @Column(name="UPDATOR", length=100) |
| | | private String updator; |
| | | |
| | | /** 名称 */ |
| | | /** 名称 */ |
| | | @Column(name="NAME", length=128) |
| | | private String name; |
| | | |
| | | /** 状态 1:预告 2 直播 3 回放 4 废弃 */ |
| | | /** 状态 1:预告 2 直播 3 回放 4 废弃 */ |
| | | @Column(name="STATUS") |
| | | private short status; |
| | | |
| | | /** 直播人ID */ |
| | | /** 直播人ID */ |
| | | @Column(name="ANCHOR_ID", length=32) |
| | | private String anchorId; |
| | | |
| | | /** 直播人 */ |
| | | /** 直播人 */ |
| | | @Column(name="ANCHOR", length=128) |
| | | private String anchor; |
| | | |
| | | /** 预告图片URL */ |
| | | /** 预告图片URL */ |
| | | @Column(name="PREVIEW_IMG_URL",length=256) |
| | | private String previewImgUrl; |
| | | |
| | | /** 咨询图片URL */ |
| | | /** 咨询图片URL */ |
| | | @Column(name="CONSULT_IMG_URL",length=256) |
| | | private String consultImgUrl; |
| | | |
| | | /** 预告片视频URL */ |
| | | /** 预告片视频URL */ |
| | | @Column(name="PREVIEW_VIDEO_URL",length=256) |
| | | private String previewVideoUrl; |
| | | |
| | | /** 预约次数 */ |
| | | /** 预约次数 */ |
| | | @Column(name="ORDER_TIMES") |
| | | private Integer orderTimes; |
| | | |
| | | /** 直播观看人次 */ |
| | | /** 直播观看人次 */ |
| | | @Column(name="WATCH_TIMES") |
| | | private Integer watchTimes; |
| | | |
| | | /** 点赞人次 */ |
| | | /** 点赞人次 */ |
| | | @Column(name="PRAISE_TIMES") |
| | | private Integer praiseTimes; |
| | | |
| | | /** 直播最高观看人次 */ |
| | | /** 直播最高观看人次 */ |
| | | @Column(name="WATCH_MAX_TIMES") |
| | | private Integer watchMaxTimes; |
| | | |
| | | /** 回放次数 */ |
| | | /** 回放次数 */ |
| | | @Column(name="REVIEW_TIMES") |
| | | private Integer reviewTimes; |
| | | |
| | | /** 报名人数上限 */ |
| | | /** 报名人数上限 */ |
| | | @Column(name="WATCHER_LIMIT") |
| | | private Integer watcherLimit; |
| | | |
| | | /** 备注详情 */ |
| | | /** 备注详情 */ |
| | | @Column(name="REMARK", length=16777215) |
| | | private String remark; |
| | | |
| | | /** 直播预计开始时间 */ |
| | | /** 直播预计开始时间 */ |
| | | @Column(name="START_TIME") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm") |
| | | private Date startTime; |
| | | |
| | | /** 直播预计结束时间 */ |
| | | /** 直播预计结束时间 */ |
| | | @Column(name="END_TIME") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm") |
| | | private Date endTime; |
| | | |
| | | /** 是否按时开始直播,误差5分钟内 */ |
| | | /** 是否按时开始直播,误差5分钟内 */ |
| | | @Column(name="ON_TIME_FLAG") |
| | | private boolean onTimeFlag; |
| | | |
| | | /** 是否有完成直播 */ |
| | | /** 是否有完成直播 */ |
| | | @Column(name="COMPLETE_FLAG") |
| | | private boolean completeFlag; |
| | | |
| | | /** 腾讯云房间号码 */ |
| | | /** 腾讯云房间号码 */ |
| | | @Column(name="TECENT_LIVE_NUMBER", length=128) |
| | | private String tecentLiveNumber; |
| | | |
| | | /** 网易云信房间号码 */ |
| | | /** 网易云信房间号码 */ |
| | | @Column(name="WY_LIVE_NUMBER", length=128) |
| | | private String wyLiveNumber; |
| | | |
| | | /** 网易云信直播推流url */ |
| | | /** 网易云信直播推流url */ |
| | | @Column(name="WY_PUSH_URL", length=128) |
| | | private String pushUrl; |
| | | |
| | | /** 网易云信直播拉流:httpPullUrl */ |
| | | /** 网易云信直播拉流:httpPullUrl */ |
| | | @Column(name="WY_HTTP_PULL_URL", length=128) |
| | | private String httpPullUrl; |
| | | |
| | | /** 网易云信直播拉流:hlsPullUrl */ |
| | | /** 网易云信直播拉流:hlsPullUrl */ |
| | | @Column(name="WY_HLS_PULL_URL", length=128) |
| | | private String hlsPullUrl; |
| | | |
| | | /** 网易云信直播拉流:rtmpPullUrl */ |
| | | /** 网易云信直播拉流:rtmpPullUrl */ |
| | | @Column(name="WY_RTMP_PULL_URL", length=128) |
| | | private String rtmpPullUrl; |
| | | |
| | | /** 权限:limitClass:仅限班级 public:公开 orderWatch:预约观看 limitOrg:仅限机构 */ |
| | | /** 权限:limitClass:仅限班级 public:公开 orderWatch:预约观看 limitOrg:仅限机构 */ |
| | | @Column(name="PERMISSION", length=32) |
| | | private String permission; |
| | | |
| | | /** 清晰度 LD:流畅 SD:标清 HD:高清 */ |
| | | /** 清晰度 LD:流畅 SD:标清 HD:高清 */ |
| | | @Column(name="DEFINITION", length=32) |
| | | private String definition; |
| | | |
| | | /** 预计时长 单位:分钟 */ |
| | | /** 预计时长 单位:分钟 */ |
| | | @Column(name="EXPECTED_TIMES") |
| | | private Integer expectedTimes; |
| | | |
| | | /** 实际播放时长 单位:秒 */ |
| | | /** 实际播放时长 单位:秒 */ |
| | | @Column(name="PLAY_TIMES") |
| | | private BigInteger playTimes; |
| | | |
| | | /** 分享次数 */ |
| | | /** 分享次数 */ |
| | | @Column(name="SHARE_TIMES") |
| | | private BigInteger shareTimes; |
| | | |
| | | /** 扩展字段(显示异常、预处理失败及进度条) */ |
| | | /** 扩展字段(显示异常、预处理失败及进度条) */ |
| | | @Column(name="ATTRIBUTE") |
| | | private String attribute; |
| | | |
| | | /** 网易状态回调,记录最后录制时间 */ |
| | | /** 网易状态回调,记录最后录制时间 */ |
| | | @Column(name="LAST_RECORD_TIME") |
| | | @JsonIgnore |
| | | private long lastRecordTime; |
| | | |
| | | /** 唐桥会议id */ |
| | | /** 唐桥会议id */ |
| | | @Column(name="TQ_MEETING_ID", length=32) |
| | | private String meetingId; |
| | | |
| | | /** 唐桥加入课堂密码 */ |
| | | /** 唐桥加入课堂密码 */ |
| | | @Column(name="TQ_MEETING_PWD", length=32) |
| | | private String meetingPwd; |
| | | |