package com.yonge.cooleshow.biz.dal.wrapper.teacher;

import com.yonge.cooleshow.biz.dal.enums.CourseScheduleEnum;
import com.yonge.cooleshow.biz.dal.enums.GoodTypeEnum;
import com.yonge.toolset.base.page.QueryInfo;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

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

public class TeacherHomeWrapper {


    @Data
    public static class TeacherTotalCourseQuery{

        @ApiModelProperty("老师ID")
        private Long teacherId;

        @ApiModelProperty("开始时间")
        private Date startTime;

        @ApiModelProperty("结束时间")
        private Date endTime;

    }

    @Data
    @Builder
    @NoArgsConstructor
    @AllArgsConstructor
    public static class TeacherTotalCourse{


        @ApiModelProperty("购买数量")
        private Integer buyNum =0;

        @ApiModelProperty("课时数量")
        private Integer classHourNum = 0;

        @ApiModelProperty("类型 PRACTICE:趣纠课，VIP_COURSE:VIP课,LIVE:直播课,VIDEO:视频课")
        private GoodTypeEnum goodType;
    }

    @Data
    @Builder
    @NoArgsConstructor
    @AllArgsConstructor
    public static class MusicSheetTotal{

        @ApiModelProperty("曲目数量")
        private Integer musicSheetNum = 0;

        @ApiModelProperty("曲目审核中")
        private Integer musicSheetAuditNum = 0;

        @ApiModelProperty("曲目名")
        private String musicSheetName;

        @ApiModelProperty("上传时间")
        private Date createTime;

        @ApiModelProperty("曲目曝光数")
        private Integer musicSheetExposureNum = 0;

        @ApiModelProperty("曲目付费人数")
        private Integer musicSheetPayNum = 0;

        @ApiModelProperty("曲目收入")
        private BigDecimal musicSheetIncome = BigDecimal.ZERO;
    }


    @Data
    public static class MusicSheetQuery {

        @ApiModelProperty("老师ID")
        private Long teacherId;


        @ApiModelProperty("数量")
        private Integer rows = 5;

    }


    @Data
    public static class CourseExposureQuery {

        @ApiModelProperty("老师ID")
        private Long teacherId;


        @ApiModelProperty("开始时间")
        private Date startTime;

        @ApiModelProperty("结束时间")
        private Date endTime;

        @ApiModelProperty("类型MUSIC:乐谱，LIVE:直播课，VIDEO：视频课")
        private String type;

    }
}
