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

import com.yonge.toolset.base.page.QueryInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

public class CourseGroupWrapper {

    @Data
    public static class TeacherCourseGroupQuery extends QueryInfo {

        @ApiModelProperty(value = "课程组状态")
        private String status;

        @ApiModelProperty("声部")
        private Long subjectId;

        @ApiModelProperty("老师编号")
        private Long teacherId;

        @ApiModelProperty("学员编号")
        private Long studentId;

        @ApiModelProperty("课程组类型")
        private String courseType;

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

    @Data
    public static class TeacherCourseGroupDto {
        @ApiModelProperty(value = "课程组id")
        private Long courseGroupId;

        @ApiModelProperty(value = "名称")
        private String courseGroupName;

        @ApiModelProperty(value = "声部名称")
        private String subjectName;

        @ApiModelProperty(value = "声部id")
        private Long subjectId;

        @ApiModelProperty(value = "课程组状态")
        private String status;

        @ApiModelProperty(value = "已完成课程数")
        private Integer completeCourseNum;

        @ApiModelProperty(value = "课程数")
        private Integer courseNum;

        @ApiModelProperty(value = "学生数")
        private Integer studentNum = 1;

        @ApiModelProperty(value = "学员姓名")
        private String studentName;

        @ApiModelProperty(value = "学员头像")
        private String studentAvatar;

        @ApiModelProperty(value = "课程规划")
        private String coursePlan;
    }
    @Data
    public static class StudentCourseGroupDto {
        @ApiModelProperty(value = "课程组id")
        private Long courseGroupId;

        @ApiModelProperty(value = "名称")
        private String courseGroupName;

        @ApiModelProperty(value = "声部名称")
        private String subjectName;

        @ApiModelProperty(value = "声部id")
        private Long subjectId;

        @ApiModelProperty(value = "老师编号")
        private Long teacherId;

        @ApiModelProperty(value = "课程组状态")
        private String status;

        @ApiModelProperty(value = "已完成课程数")
        private Integer completeCourseNum;

        @ApiModelProperty(value = "课程数")
        private Integer courseNum;

        @ApiModelProperty(value = "学员姓名")
        private String teacherName;

        @ApiModelProperty(value = "学员头像")
        private String teacherAvatar;

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

    @ApiModel(value = "CourseStudentVo", description = "学员列表")
    @Data
    public static class CourseStudentVo {

        @ApiModelProperty(value = "学员id")
        private Long studentId;

        @ApiModelProperty(value = "学员名称")
        private String studentName;

        @ApiModelProperty(value = "昵称")
        private String userName;

        @ApiModelProperty(value = "头像")
        private String avatar;

        @ApiModelProperty("IM用户ID")
        private String imUserId;

        @ApiModelProperty(value = "声部编号")
        private String subjectId;

        @ApiModelProperty(value = "声部名称")
        private String subjectName;
    }


}
