package cn.iocoder.yudao.module.hrm.controller.admin.employee.vo;
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import jakarta.validation.constraints.NotEmpty;
|
import jakarta.validation.constraints.NotNull;
|
import lombok.Data;
|
|
import java.time.LocalDate;
|
|
@Schema(description = "管理后台 - 员工教育经历新增/修改 Request VO")
|
@Data
|
public class HrmEmployeeEducationSaveReqVO {
|
|
@Schema(description = "记录ID", example = "1")
|
private Long id;
|
|
@Schema(description = "员工ID", example = "1")
|
private Long employeeId;
|
|
@Schema(description = "学校名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "南京大学")
|
@NotEmpty(message = "学校名称不能为空")
|
private String schoolName;
|
|
@Schema(description = "专业", example = "计算机科学与技术")
|
private String major;
|
|
@Schema(description = "学历", requiredMode = Schema.RequiredMode.REQUIRED, example = "3")
|
@NotNull(message = "学历不能为空")
|
private Integer degree;
|
|
@Schema(description = "入学时间", example = "2010-09-01")
|
private LocalDate startDate;
|
|
@Schema(description = "毕业时间", example = "2014-06-30")
|
private LocalDate endDate;
|
|
@Schema(description = "证书编号", example = "10284201412345678")
|
private String certificateNo;
|
|
@Schema(description = "备注", example = "备注信息")
|
private String remark;
|
|
}
|