[tlinh2110@gmail.com] remove unsed property
This commit is contained in:
parent
fb5dd0a85e
commit
d145e559e2
|
@ -9,7 +9,6 @@ import org.springframework.security.core.userdetails.User;
|
|||
public class CustomUser extends User{
|
||||
|
||||
private String nickName;
|
||||
private int age;
|
||||
|
||||
public CustomUser(String username, String password, Collection<? extends GrantedAuthority> authorities) {
|
||||
super(username, password, authorities);
|
||||
|
@ -28,12 +27,4 @@ public class CustomUser extends User{
|
|||
this.nickName = nickName;
|
||||
}
|
||||
|
||||
public int getAge() {
|
||||
return age;
|
||||
}
|
||||
|
||||
public void setAge(int age) {
|
||||
this.age = age;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue