瀏覽代碼

基础模块机构类型与用户类型修改

weiwenhai 7 年之前
父節點
當前提交
894ad4eac3

+ 17 - 0
core-domain/src/main/java/cn/com/qmth/examcloud/service/core/enums/OrgType.java

@@ -0,0 +1,17 @@
+package cn.com.qmth.examcloud.service.core.enums;
+
+public enum OrgType {
+	SCHOOL("学校"),
+	PRINT_QMTH("启明"),
+	PRINT_SHOP("印刷");
+	
+	private String name;
+	
+	private OrgType(String name){
+		this.name = name;
+	}
+	
+	public String getName(){
+		return this.name;
+	}
+}

+ 1 - 1
core-domain/src/main/java/cn/com/qmth/examcloud/service/core/enums/UserType.java

@@ -4,5 +4,5 @@ package cn.com.qmth.examcloud.service.core.enums;
  * Created by songyue on 17/2/22.
  */
 public enum UserType {
-    NOT_STUDENT,STUDENT
+    NOT_STUDENT,STUDENT,PRINT
 }