|
|
@@ -32,7 +32,11 @@ public class PartyUserPo extends PartyUserTbl implements User{
|
|
|
protected String wcAccount;
|
|
|
@ApiModelProperty(value = "名称")
|
|
|
protected String fullname;
|
|
|
-
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "系统管理角色")
|
|
|
+ //由上下文CurrentContext管理
|
|
|
+ protected Boolean isAdmin;
|
|
|
+
|
|
|
@JsonIgnore
|
|
|
@Override
|
|
|
public String getIdentityType() {
|
|
|
@@ -100,4 +104,12 @@ public class PartyUserPo extends PartyUserTbl implements User{
|
|
|
}
|
|
|
return JacksonUtil.getDTOList(listData, PartyUserPo.class);
|
|
|
}
|
|
|
+
|
|
|
+ public Boolean getIsAdmin() {
|
|
|
+ return isAdmin;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setIsAdmin(Boolean isAdmin) {
|
|
|
+ this.isAdmin = isAdmin;
|
|
|
+ }
|
|
|
}
|