|
@@ -157,6 +157,12 @@ public class SysUser extends BaseEntity {
|
|
|
@Excel(name = "角色名称")
|
|
|
private String roleName;
|
|
|
|
|
|
+ /**
|
|
|
+ * 角色名称数组
|
|
|
+ */
|
|
|
+ @TableField(exist = false)
|
|
|
+ private List<String> roleNames;
|
|
|
+
|
|
|
/**
|
|
|
* 新密码
|
|
|
*/
|
|
@@ -214,6 +220,14 @@ public class SysUser extends BaseEntity {
|
|
|
this.roleName = roleName;
|
|
|
}
|
|
|
|
|
|
+ public List<String> getRoleNames() {
|
|
|
+ return roleNames;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setRoleNames(List<String> roleNames) {
|
|
|
+ this.roleNames = roleNames;
|
|
|
+ }
|
|
|
+
|
|
|
public String getDeptName() {
|
|
|
return deptName;
|
|
|
}
|