|
@@ -1,7 +1,5 @@
|
|
|
package com.abi.qms.platform.dto.res;
|
|
|
|
|
|
-import com.baomidou.mybatisplus.annotation.IdType;
|
|
|
-import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
import io.swagger.annotations.ApiModel;
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
import lombok.AllArgsConstructor;
|
|
@@ -33,9 +31,30 @@ public class GetRoleInfoRes implements Serializable {
|
|
|
private String roleDesc;
|
|
|
|
|
|
@ApiModelProperty("资源code列表")
|
|
|
- List<String> resourceCodeList;
|
|
|
+ private List<String> resourceCodeList;
|
|
|
|
|
|
@ApiModelProperty(value = "激活小程序资源列表(里面只会有2种code: 1-主账号 2-子账号)")
|
|
|
private List<Integer> activateMiniAppResourceCodeList;
|
|
|
|
|
|
+ @ApiModelProperty("子角色列表")
|
|
|
+ private List<RoleInfoBean> subRoleInfoList;
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 子角色bean
|
|
|
+ */
|
|
|
+ @Data
|
|
|
+ @NoArgsConstructor
|
|
|
+ @AllArgsConstructor
|
|
|
+ @ToString
|
|
|
+ @ApiModel(value = "GetRoleInfoRes_RoleInfoBean")
|
|
|
+ public static class RoleInfoBean implements Serializable {
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "角色code")
|
|
|
+ private String roleCode;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "角色name")
|
|
|
+ private String roleName;
|
|
|
+
|
|
|
+ }
|
|
|
}
|