package com.cirle.scientific.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.util.Calendar;

@Data
public class QkjLiveDto {

    private Long id;

    @ApiModelProperty(value = "直播id")
    private String liveId;

    @ApiModelProperty(value = "直播标题")
    private String liveTitle;

    @ApiModelProperty(value = "支付价格")
    private Double price;

    @ApiModelProperty(value = "是否支持积分兑换  0：不支持  1：支持")
    private Integer pointFlag=0;

    @ApiModelProperty(value = "积分兑换所需积分(如果支持积分兑换此值大于0)")
    private Integer point=0;

    @ApiModelProperty(value = "购买后有效时间（单位：天）")
    private Integer durationValidity = 365;

    @ApiModelProperty(value = "直播详情")
    private String liveContent;

    @ApiModelProperty(value = "直播封面图")
    private String liveCoverImg;

    @ApiModelProperty(value = "开始时间")
    private Calendar liveBeginTime;

    @ApiModelProperty(value = "直播类型，1-普通直播，2-系列直播，3-系列直播子直播")
    private Integer liveType=1;

    @ApiModelProperty(value = "直播域名")
    private String liveDomain;

    @ApiModelProperty(value = "直播地址")
    private String liveUri;

    @ApiModelProperty(value = "直播推流地址")
    private String liveRtmpUrl;

    @ApiModelProperty(value = "直播观看地址")
    private String livePlayUrl;

    @ApiModelProperty(value = "直播状态，0-未开始，1-进行中，2-已结束，3-可回看")
    private Integer liveStatus=0;

    @ApiModelProperty(value = "参与用户数")
    private Integer joinMembers=0;

    @ApiModelProperty(value = "在线用户数")
    private Integer onlineMembers=0;

    @ApiModelProperty(value = "分享标题")
    private String shareTitle;

    @ApiModelProperty(value = "分享描述")
    private String shareDesc;

    @ApiModelProperty(value = "分享图标")
    private String sharePic;

    @ApiModelProperty(value = "是否置顶，0-不置顶，1-已置顶")
    private Integer istop;

    @ApiModelProperty(value = "视频库id")
    private Integer vodId;

    @ApiModelProperty(value = "直播回看地址")
    private String backviewUrl;

    @ApiModelProperty(value = "发布状态， 0-草稿 1-正常，2-已删除")
    private Integer status;

    private Calendar createTime;

    @ApiModelProperty(value = "系列直播中上架子直播数量")
    private Integer liveSonCount = 0;

    @ApiModelProperty(value = "真实预约数")
    private Integer remindMembers = 0;

    @ApiModelProperty(value = "假预约人数")
    private Integer vremindMembers = 0;

    @ApiModelProperty(value = "真实购买数量")
    private Integer purchasedMembers = 0;

    @ApiModelProperty(value = "假购买数量")
    private Integer vpurchasedMembers = 0;

    @ApiModelProperty(value = "是否需要实名认证  0:不需要 1:需要")
    private Integer smrzFlag = 0;

    @ApiModelProperty(value = "是否需要医师认证  0:不需要 1:需要")
    private Integer ysrzFlag = 0;

    @ApiModelProperty(value = "是否需要问卷调查  0:不需要 1:需要")
    private Integer questionFlag = 0;

    @ApiModelProperty(value = "是否对外售卖  0、可售卖  1、不对外售卖 （专区）")
    private Integer isSell = 0;

    @ApiModelProperty(value = "云展厅")
    private String showHall;

    /**
     * 直播总人次
     */
    private Integer LiveManTime;

    private String time;
}
