package jnpf.model.cultivate.dto.position.web;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author fantaibao
 * @date 2023/12/17
 */
@Data
public class FtbCultivatePositionJobLearnCourseStateSwitchDTO {
    /**
     * 是否必修，0必修，1选修
     */
    @NotNull(message = "是否必修不能为空")
    private Integer compulsory;

    /**
     * 岗位学习主键ID
     */
    @NotBlank(message = "岗位学习主键ID不能为空")
    private String postLearnId;

    /**
     * 岗位主键ID
     */
    @NotBlank(message = "岗位主键ID不能为空")
    private String postRankId;

    /**
     * 课程主键ID
     */
    @NotBlank(message = "课程主键ID不能为空")
    private String courseId;

}
