Browse Source

是否有密保类型修改成封装类型

wangmh 8 years ago
parent
commit
0c2262df88
1 changed files with 3 additions and 3 deletions
  1. 3 3
      sso-common/src/main/java/com/uas/sso/entity/UserView.java

+ 3 - 3
sso-common/src/main/java/com/uas/sso/entity/UserView.java

@@ -83,7 +83,7 @@ public class UserView implements Serializable {
     /**
      * 有密保
      */
-    private boolean hasQuestion;
+    private Boolean hasQuestion;
 
     /**
      * 用户身份认证状态
@@ -219,11 +219,11 @@ public class UserView implements Serializable {
         this.passwordLevel = passwordLevel;
     }
 
-    public boolean isHasQuestion() {
+    public Boolean getHasQuestion() {
         return hasQuestion;
     }
 
-    public void setHasQuestion(boolean hasQuestion) {
+    public void setHasQuestion(Boolean hasQuestion) {
         this.hasQuestion = hasQuestion;
     }