9 天以前 8c14b50773a1e582b652c03f5a63bb2233d069b8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
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;
 
}