Browse Source

7.26 新添枚举类

Mechrevo 1 year ago
parent
commit
4917161369
1 changed files with 26 additions and 0 deletions
  1. 26 0
      sp-core/sp-base/src/main/java/com/pj/enummj/UserType.java

+ 26 - 0
sp-core/sp-base/src/main/java/com/pj/enummj/UserType.java

@@ -0,0 +1,26 @@
+package com.pj.enummj;
+
+import lombok.AllArgsConstructor;
+import lombok.Getter;
+
+/**
+ * @Author Mechrevo
+ * @Date 2023 07 26 10 22
+ **/
+@Getter
+@AllArgsConstructor
+public enum UserType {
+
+    USER_TYPE_PEOPLE(1,"普通边民"),
+    USER_TYPE_GROUP_LEADER(2,"互市区边民组组长"),
+    USER_TYPE_ENTERPRISE(3,"互市区商家"),
+    USER_TYPE_DRIVER(4,"司机"),
+    USER_TYPE_PURCHASER(5,"国内收购商");
+
+    private Integer code;
+
+    private String msg;
+
+
+
+}