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

import lombok.Data;

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

@Data
public class FtbCultivateAssociatedExamsCoursesDTO {

    /**
     * 类型,0课程，1考试
     */
    @NotNull(message = "类型不能为空")
    private Integer type;

    /**
     * 业务主键id(考试和课程)
     */
    @NotBlank(message = "业务主键id不能为空")
    private String fieldId;

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

    /**
     * 新岗位id
     */
    @NotBlank(message = "新岗位id不能为空")
    private String newPostionId;

}
