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 HrmEmployeeWorkHistorySaveReqVO {
|
|
@Schema(description = "记录ID", example = "1")
|
private Long id;
|
|
@Schema(description = "员工ID", example = "1")
|
private Long employeeId;
|
|
@Schema(description = "公司名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "XX科技有限公司")
|
@NotEmpty(message = "公司名称不能为空")
|
private String companyName;
|
|
@Schema(description = "职位", requiredMode = Schema.RequiredMode.REQUIRED, example = "Java开发工程师")
|
@NotEmpty(message = "职位不能为空")
|
private String position;
|
|
@Schema(description = "入职时间", example = "2015-03-01")
|
private LocalDate startDate;
|
|
@Schema(description = "离职时间", example = "2020-02-28")
|
private LocalDate endDate;
|
|
@Schema(description = "工作内容", example = "负责后端系统开发")
|
private String workContent;
|
|
@Schema(description = "离职原因", example = "个人发展")
|
private String leaveReason;
|
|
@Schema(description = "证明人姓名", example = "李四")
|
private String referenceName;
|
|
@Schema(description = "证明人电话", example = "13900139000")
|
private String referencePhone;
|
|
@Schema(description = "备注", example = "备注信息")
|
private String remark;
|
|
}
|