package com.yonge.cooleshow.biz.dal.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.yonge.cooleshow.biz.dal.enums.CourseGroupEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * Description 平台方 老师详情直播课列表
 *
 * @author liujunchi
 * @date 2022-04-18
 */
@Data
@ApiModel("平台方 老师详情直播课列表")
public class LiveCourseGroupVo {

    @ApiModelProperty("课程组编号")
    private Long courseGroupId;

    @ApiModelProperty("课程名称")
    private String name;

    @ApiModelProperty("课程声部")
    private String subjectName;

    @ApiModelProperty("课程数")
    private Long courseNum;

    @ApiModelProperty("已结束课时数")
    private Integer endCourseNum;

    @ApiModelProperty("未开始课程数")
    private Integer noStartCourseNum;

    @ApiModelProperty("销售价格（元）")
    private BigDecimal coursePrice;

    @ApiModelProperty("购买人数")
    private Integer preStudentNum;

    @ApiModelProperty("课程组状态 ING进行中 COMPLETE已完成 DISSOLVE-未成课(解散课程) CANCEL已取消-未开始报名前可取消 APPLY报名中 NOT_SALE未开售")
    private CourseGroupEnum status;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty("课程简介")
    private String courseIntroduce;

    @ApiModelProperty(value = "直播课成课后生成的im群id")
    private String imGroupId;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty("订单号")
    private String orderNo;

    @ApiModelProperty(value = "类型 practice趣纠课 live直播课")
    private String type;

    @ApiModelProperty("下架原因")
    private String reason;

    @ApiModelProperty("课程规划")
    private String coursePlan;
}
