| | |
| | | |
| | | /** |
| | | * 用户 Excel 导入 VO |
| | | * |
| | | * 列名与页面上的叫法保持一致(用户账号 / 用户昵称),避免用户拿到模板后找不到对应列。 |
| | | * 部门、岗位两列填「名称」即可(部门也可以继续填部门编号),导入时会在系统里翻译成编号。 |
| | | */ |
| | | @Data |
| | | @Builder |
| | |
| | | @NoArgsConstructor |
| | | public class UserImportExcelVO { |
| | | |
| | | @ExcelProperty("登录名称") |
| | | @ExcelProperty("用户账号") |
| | | private String username; |
| | | |
| | | @ExcelProperty("用户名称") |
| | | @ExcelProperty("用户昵称") |
| | | private String nickname; |
| | | |
| | | @ExcelProperty("部门编号") |
| | | private Long deptId; |
| | | @ExcelProperty("部门") |
| | | private String dept; |
| | | |
| | | @ExcelProperty("岗位") |
| | | private String post; |
| | | |
| | | @ExcelProperty("用户邮箱") |
| | | private String email; |
| | |
| | | @DictFormat(DictTypeConstants.COMMON_STATUS) |
| | | private Integer status; |
| | | |
| | | @ExcelProperty("初始密码") |
| | | private String password; |
| | | |
| | | } |