xiaof 3 роки тому
батько
коміт
d28d8dd656

+ 3 - 3
teachcloud-common/src/main/java/com/qmth/teachcloud/common/bean/dto/OrgDto.java

@@ -25,7 +25,7 @@ public class OrgDto {
     private Boolean enable;
 
     @ApiModelProperty(value = "类型,COLLEGE:学院,FACULTY:院系,TEACHING_ROOM:教研室,PRINTING_HOUSE:印刷厂")
-    private OrgTypeEnum type;
+    private String type;
 
     private List<OrgDto> children = new ArrayList<>();
 
@@ -71,11 +71,11 @@ public class OrgDto {
         this.id = id;
     }
 
-    public OrgTypeEnum getType() {
+    public String getType() {
         return type;
     }
 
-    public void setType(OrgTypeEnum type) {
+    public void setType(String type) {
         this.type = type;
     }