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

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

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

public class TeacherFreeTimeWrapper {

    @Data
    public static class TeacherSearch extends QueryInfo {

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

        @ApiModelProperty(value = "最近30天空闲标记")
        private Boolean recentFreeTime;

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

        @ApiModelProperty(value = "排序字段")
        private String sortField;

        @ApiModelProperty(value = "排序规则 ASC DESC")
        private String sortRule;
    }

    @Data
    public static class TeacherFreeConfig{

        @ApiModelProperty(value = "可排课开始时间")
        private String startTime;

        @ApiModelProperty(value = "可排课结束时间")
        private String endTime;

        @ApiModelProperty(value = "排课间隔时长")
        private Integer intervalTime;

    }

    @Data
    public static class CourseConfigDto{
        @ApiModelProperty(value = "课程时长")
        private Integer courseMinutes;

        @ApiModelProperty(value = "空闲时长")
        private Integer freeMinutes;

        @ApiModelProperty(value = "最低价格")
        private BigDecimal lowestPrice;

        @ApiModelProperty(value = "最高价格")
        private BigDecimal highestPrice;

        @ApiModelProperty(value = "id")
        private Long id;

    }

}
