|
@@ -34,7 +34,7 @@ public class RoleModel extends SuperModel {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@Schema(description = "角色类型")
|
|
@Schema(description = "角色类型")
|
|
|
- RoleType roleType;
|
|
|
|
|
|
|
+ private RoleType roleType;
|
|
|
|
|
|
|
|
private String roleTypeStr;
|
|
private String roleTypeStr;
|
|
|
|
|
|
|
@@ -62,4 +62,7 @@ public class RoleModel extends SuperModel {
|
|
|
|
|
|
|
|
@Schema(description = "是否管理角色")
|
|
@Schema(description = "是否管理角色")
|
|
|
private Boolean isAdmin = Boolean.FALSE;
|
|
private Boolean isAdmin = Boolean.FALSE;
|
|
|
|
|
+
|
|
|
|
|
+ @Schema(description = "是否是游客角色")
|
|
|
|
|
+ private Boolean isVisitor = Boolean.FALSE;
|
|
|
}
|
|
}
|