remove unsed property
@@ -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;
- }
-
}
