public User(int id, String login, String password, int role) { super(id); this.login = login; this.password = password; this.role = role; this.locale = Locale.DEFAULT.toString(); }
public User(String login, String password, int role) { this(login, password); this.role = role; this.locale = Locale.DEFAULT.toString(); }
public User() { super(); this.role = Role.STUDENT.getValue(); this.locale = Locale.DEFAULT.toString(); }