Browse Source

学校功能

TRX 1 năm trước cách đây
mục cha
commit
8285653c45

+ 10 - 1
FullCardClient/src/main/java/com/zhongshu/card/client/model/org/OrganizationModel.java

@@ -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();
         }