Browse Source

字段类型

zhaops 6 years atrás
parent
commit
544bf9ff70
1 changed files with 3 additions and 3 deletions
  1. 3 3
      gateway-service/src/main/java/com/diagbot/entity/User.java

+ 3 - 3
gateway-service/src/main/java/com/diagbot/entity/User.java

@@ -69,15 +69,15 @@ public class User implements Serializable {
     /**
      * 用户类型
      */
-    private String type;
+    private Integer type;
 
 
 
-    public String getType() {
+    public Integer getType() {
 		return type;
 	}
 
-	public void setType(String type) {
+	public void setType(Integer type) {
 		this.type = type;
 	}