public class EnjoyTravel {
    private String web;
    private String email;
    private Map<String,Lloc> llocs;
    private Set<Usuari> usuaris;
}
public class Lloc {
    protected String nom;
    protected double preuMig;
    protected String adreça;
    protected String ciutat;
    protected String pais;
    private List<Comentari> comentaris;
}
public class Restaurant extends Lloc{
    private String millorPlat;
}
public class Hotel extends Lloc{
    private String estrelles;
}
public class Atraccio extends Lloc{
    private String activitats;
    private int duracioVisita;
}
public abstract class Usuari{
    protected String nom;
    protected EnjoyTravel travel;
    protected List<Comentari> comentaris;
}
public class UsuariRegistrat extends Usuari{
    private String email;
    private String contrasenya;
    private String dadesBancaries;
    private List<Reserva> reserves;
}
public class UsuariNoRegistrat extends Usuari{...}
public class Comentari {
    private String titol;
    private String text;
    private double puntuacio;
    private Usuari usuari;
}
public class Reserva {
    private String id;
    private Date data;
    private double preu;
    private Lloc lloc;
    private UsuariRegistrat usuariRegistrat;
}

