2026-08-10 a378f38df1785cbc8c9f1d55ace6a37952d2f65b
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
package cn.iocoder.yudao.module.hrm.controller.admin.employee.vo;
 
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;
 
@Schema(description = "管理后台 - 员工 Response VO")
@Data
@ExcelIgnoreUnannotated
public class HrmEmployeeRespVO {
 
    @Schema(description = "员工ID", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("员工ID")
    private Long id;
 
    @Schema(description = "员工编号")
    @ExcelProperty("员工编号")
    private String employeeNo;
 
    @Schema(description = "部门ID")
    private Long deptId;
 
    @Schema(description = "部门名称")
    @ExcelProperty("部门名称")
    private String deptName;
 
    @Schema(description = "岗位ID")
    private Long postId;
 
    @Schema(description = "岗位名称")
    @ExcelProperty("岗位名称")
    private String postName;
 
    @Schema(description = "员工姓名")
    @ExcelProperty("员工姓名")
    private String name;
 
    @Schema(description = "性别")
    @ExcelProperty(value = "性别", converter = DictConvert.class)
    @DictFormat("system_user_sex")
    private Integer gender;
 
    @Schema(description = "出生日期")
    @ExcelProperty("出生日期")
    private LocalDate birthday;
 
    @Schema(description = "手机号码")
    @ExcelProperty("手机号码")
    private String phone;
 
    @Schema(description = "邮箱")
    @ExcelProperty("邮箱")
    private String email;
 
    @Schema(description = "身份证号")
    @ExcelProperty("身份证号")
    private String idCard;
 
    @Schema(description = "民族")
    @ExcelProperty("民族")
    private String nation;
 
    @Schema(description = "婚姻状态")
    @ExcelProperty("婚姻状态")
    private String marriageStatus;
 
    @Schema(description = "年龄")
    @ExcelProperty("年龄")
    private Integer age;
 
    @Schema(description = "学历")
    @ExcelProperty("学历")
    private String education;
 
    @Schema(description = "政治面貌")
    @ExcelProperty("政治面貌")
    private String politicalStatus;
 
    @Schema(description = "入职日期")
    @ExcelProperty("入职日期")
    private LocalDate hireDate;
 
    @Schema(description = "转正日期")
    @ExcelProperty("转正日期")
    private LocalDate regularDate;
 
    @Schema(description = "离职日期")
    @ExcelProperty("离职日期")
    private LocalDate leaveDate;
 
    @Schema(description = "员工状态")
    @ExcelProperty(value = "员工状态", converter = DictConvert.class)
    @DictFormat("hrm_employee_status")
    private Integer employeeStatus;
 
    @Schema(description = "年假余额(天)")
    @ExcelProperty("年假余额")
    private BigDecimal annualLeaveBalance;
 
    @Schema(description = "病假余额(天)")
    @ExcelProperty("病假余额")
    private BigDecimal sickLeaveBalance;
 
    @Schema(description = "薪酬结构ID")
    private Long salaryStructureId;
 
    @Schema(description = "基本工资")
    @ExcelProperty("基本工资")
    private BigDecimal baseSalary;
 
    @Schema(description = "角色ID列表")
    private List<Long> roleIds;
 
    @Schema(description = "角色名称列表")
    @ExcelProperty("角色")
    private String roleNames;
 
    @Schema(description = "开户银行")
    @ExcelProperty("开户银行")
    private String bankName;
 
    @Schema(description = "银行账号")
    @ExcelProperty("银行账号")
    private String bankAccount;
 
    @Schema(description = "居住地址")
    @ExcelProperty("居住地址")
    private String address;
 
    @Schema(description = "备注")
    @ExcelProperty("备注")
    private String remark;
 
    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;
 
}