|
|
@@ -53,12 +53,21 @@ public class OrganizationModel extends SuperModel {
|
|
|
@Schema(description = "机构类型")
|
|
|
private AuthType authType = AuthType.Enterprise;
|
|
|
|
|
|
+ private String authTypeStr;
|
|
|
+
|
|
|
+ public String getAuthTypeStr() {
|
|
|
+ if (authType != null) {
|
|
|
+ return authType.getRemark();
|
|
|
+ }
|
|
|
+ return "";
|
|
|
+ }
|
|
|
+
|
|
|
@Schema(description = "状态")
|
|
|
private OrganizationState state;
|
|
|
|
|
|
private String stateStr;
|
|
|
|
|
|
- public String getStateStr(){
|
|
|
+ public String getStateStr() {
|
|
|
if (state != null) {
|
|
|
return state.getRemark();
|
|
|
}
|