package com.qmth.teachcloud.report.business.bean.params;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;

/**
 * @Description: 学院替换参数（用某个学院替换另一个学院 eg。用开课学院公共物理教学替换掉考察学院）
 * @Author: CaoZixuan
 * @Date: 2022-04-01
 */
public class CollegeCombineParams {
    @ApiModelProperty("考察学院id")
    @JsonSerialize(using = ToStringSerializer.class)
    @NotNull(message = "请选择考察学院id")
    @Range(min = 1L, message = "请选择考察学院id")
    private Long inspectCollegeId;

    @ApiModelProperty("开课学院id")
    @JsonSerialize(using = ToStringSerializer.class)
    @NotNull(message = "请选择开课学院id")
    @Range(min = 1L, message = "请选择开课学院id")
    private Long teachCollegeId;

    public Long getInspectCollegeId() {
        return inspectCollegeId;
    }

    public void setInspectCollegeId(Long inspectCollegeId) {
        this.inspectCollegeId = inspectCollegeId;
    }

    public Long getTeachCollegeId() {
        return teachCollegeId;
    }

    public void setTeachCollegeId(Long teachCollegeId) {
        this.teachCollegeId = teachCollegeId;
    }
}
