package cn.iocoder.yudao.module.hrm.controller.admin.employee.vo;
|
|
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 lombok.AllArgsConstructor;
|
import lombok.Builder;
|
import lombok.Data;
|
import lombok.NoArgsConstructor;
|
|
import java.time.LocalDate;
|
|
/**
|
* 员工 Excel 导入 VO
|
*/
|
@Data
|
@Builder
|
@AllArgsConstructor
|
@NoArgsConstructor
|
public class HrmEmployeeImportExcelVO {
|
|
@ExcelProperty("员工姓名")
|
private String name;
|
|
@ExcelProperty(value = "性别", converter = DictConvert.class)
|
@DictFormat("hrm_gender")
|
private Integer gender;
|
|
@ExcelProperty("手机号")
|
private String phone;
|
|
@ExcelProperty("部门名称")
|
private String deptName;
|
|
@ExcelProperty("岗位名称")
|
private String postName;
|
|
@ExcelProperty("用户角色")
|
private String roleNames;
|
|
@ExcelProperty("入职日期")
|
private LocalDate hireDate;
|
|
@ExcelProperty(value = "员工状态", converter = DictConvert.class)
|
@DictFormat("hrm_employee_status")
|
private Integer employeeStatus;
|
|
@ExcelProperty("身份证号")
|
private String idCard;
|
|
@ExcelProperty("出生日期")
|
private LocalDate birthday;
|
|
@ExcelProperty("民族")
|
private String nation;
|
|
@ExcelProperty("婚姻状态")
|
private String marriageStatus;
|
|
@ExcelProperty("年龄")
|
private Integer age;
|
|
@ExcelProperty("学历")
|
private String education;
|
|
@ExcelProperty("政治面貌")
|
private String politicalStatus;
|
|
@ExcelProperty("邮箱")
|
private String email;
|
|
@ExcelProperty("备注")
|
private String remark;
|
|
}
|