package com.fs.course.vo.newfs;

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

import java.math.BigDecimal;

@Data
@ApiModel
public class FsCourseAnalysisCountVO implements Cloneable {

    @ApiModelProperty(value = "关联视频id")
    private Long videoId;

    @ApiModelProperty(value = "观看人数")
    private int courseWatchNum;

    @ApiModelProperty(value = "完播人数")
    private int courseCompleteNum;

    @ApiModelProperty(value = "完播率")
    private BigDecimal completeRate;

    @ApiModelProperty(value = "答题红包数")
    private int redPacketNum;

    @ApiModelProperty(value = "答题红包金额")
    private BigDecimal redPacketAmount;

    @ApiModelProperty(value = "答题人数")
    private int answerNum;

    @ApiModelProperty(value = "正确人数")
    private int answerRightNum;

    @ApiModelProperty(value = "正确率")
    private BigDecimal answerRightRate;

    @Override
    public FsCourseAnalysisCountVO clone() {
        FsCourseAnalysisCountVO countVO;
        try {
            countVO = (FsCourseAnalysisCountVO) super.clone();
        } catch (CloneNotSupportedException e) {
            throw new AssertionError();
        }
        return countVO;
    }
}
