[tlinh2110@gmail.com] remove unsed property

This commit is contained in:
linhvovn 2017-12-18 22:57:20 +08:00
parent fb5dd0a85e
commit d145e559e2
1 changed files with 0 additions and 9 deletions

View File

@ -9,7 +9,6 @@ import org.springframework.security.core.userdetails.User;
public class CustomUser extends User{ public class CustomUser extends User{
private String nickName; private String nickName;
private int age;
public CustomUser(String username, String password, Collection<? extends GrantedAuthority> authorities) { public CustomUser(String username, String password, Collection<? extends GrantedAuthority> authorities) {
super(username, password, authorities); super(username, password, authorities);
@ -28,12 +27,4 @@ public class CustomUser extends User{
this.nickName = nickName; this.nickName = nickName;
} }
public int getAge() {
return age;
}
public void setAge(int age) {
this.age = age;
}
} }