public Cliente(int idCliente, Identidad identidad, Boolean activo, List <Reserva> reservas, Boolean inconsistente) { this.idCliente = idCliente; this.identidad = identidad; this.activo = activo; this.reservas = reservas; this.inconsistente = inconsistente; }
public Usuario(int idUsuario, Identidad identidad, String username, String password, int intentosFallidosLogin, Boolean activo, List <Rol> roles, List <Hotel> hoteles) { this.idUsuario = idUsuario; this.identidad = identidad; this.username = username; this.password = password; this.intentosFallidosLogin = intentosFallidosLogin; this.activo = activo; this.roles = roles; this.hoteles = hoteles; }