package com.fs.live.vo;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.models.auth.In;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class LiveVo {
    private Long liveId;

    private String liveName;

    private String liveDesc;

    private Integer showType;

    private Integer status;

    private Long anchorId;

    private Integer liveType;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")

    private LocalDateTime startTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")

    private LocalDateTime finishTime;

    private String liveImgUrl;

    private String liveConfig;

    /** 直播配置 */
    private String configJson;

    private String videoUrl;
    private Long videoId;
    private Integer videoType;
    private Long videoFileSize;
    private Long videoDuration;

    private String flvHlsUrl;

    private Long duration;

    private String qwQrCode;
    private Long nowDuration;
    private BigDecimal nowPri;
    private Long storeId;

    /** 上下架 */
    private Integer isShow;
    private String previewUrl;
    private Integer previewVideoType;
    private Long previewVideoId;
    private Integer globalVisible;
    private Integer liveFlag;

    /** 是否开启直播完课积分功能 */
    private Boolean completionPointsEnabled;

    /** 今天是否已领取完课奖励 */
    private Boolean todayRewardReceived;
}
