| | |
| | | package cn.iocoder.yudao.module.hrm.controller.admin.employee.vo; |
| | | |
| | | import cn.idev.excel.annotation.ExcelProperty; |
| | | import cn.idev.excel.annotation.write.style.HeadFontStyle; |
| | | import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat; |
| | | import cn.iocoder.yudao.framework.excel.core.convert.DictConvert; |
| | | import cn.iocoder.yudao.framework.excel.core.convert.StrictDictConvert; |
| | | import lombok.AllArgsConstructor; |
| | | import lombok.Builder; |
| | | import lombok.Data; |
| | |
| | | @NoArgsConstructor |
| | | public class HrmEmployeeImportExcelVO { |
| | | |
| | | @HeadFontStyle(color = 10) |
| | | @ExcelProperty("员工姓名") |
| | | private String name; |
| | | |
| | | @ExcelProperty(value = "性别", converter = DictConvert.class) |
| | | @HeadFontStyle(color = 10) |
| | | @ExcelProperty(value = "性别", converter = StrictDictConvert.class) |
| | | @DictFormat("hrm_gender") |
| | | private Integer gender; |
| | | |
| | | @HeadFontStyle(color = 10) |
| | | @ExcelProperty("手机号") |
| | | private String phone; |
| | | |
| | | @ExcelProperty("初始密码") |
| | | private String password; |
| | | |
| | | @HeadFontStyle(color = 10) |
| | | @ExcelProperty("部门名称") |
| | | private String deptName; |
| | | |
| | | @HeadFontStyle(color = 10) |
| | | @ExcelProperty("岗位名称") |
| | | private String postName; |
| | | |
| | | @ExcelProperty("用户角色") |
| | | private String roleNames; |
| | | |
| | | @HeadFontStyle(color = 10) |
| | | @ExcelProperty("入职日期") |
| | | private LocalDate hireDate; |
| | | |
| | | @ExcelProperty(value = "员工状态", converter = DictConvert.class) |
| | | @ExcelProperty(value = "员工状态", converter = StrictDictConvert.class) |
| | | @DictFormat("hrm_employee_status") |
| | | private Integer employeeStatus; |
| | | |