用户添加岗位名称

main
zhaokai 2025-12-02 10:46:20 +08:00
parent d028887a3c
commit e94563be9d
2 changed files with 2 additions and 3 deletions

View File

@ -41,6 +41,8 @@ public class UserUpdateCmd extends Command {
private Long departmentId;
@ApiModelProperty(value = "岗位id", name = "postId")
private Long postId;
@ApiModelProperty(value = "岗位名称", name = "postName")
private String postName;
@ApiModelProperty(value = "角色id", name = "roleId")
private Long roleId;
@ApiModelProperty(value = "邮箱", name = "email")

View File

@ -47,14 +47,12 @@ public class UserDO extends BaseDO {
//部门id
@ApiModelProperty(value = "部门名称")
@TableField(exist = false)
private String departmentName;
//岗位id
@ApiModelProperty(value = "岗位id")
private Long postId;
//岗位id
@ApiModelProperty(value = "岗位名称")
@TableField(exist = false)
private String postName;
//角色id
@ApiModelProperty(value = "角色id")
@ -121,7 +119,6 @@ public class UserDO extends BaseDO {
//政治面貌名称
@ApiModelProperty(value = "政治面貌名称")
private String politicalAffiliationName;
// 入职状态
@ApiModelProperty(value = "入职状态")
private Integer employmentFlag;