Skip to content
Snippets Groups Projects
Commit 21fd9188 authored by Agustin Emanuel De Leon Perdomo's avatar Agustin Emanuel De Leon Perdomo
Browse files

Actualizacion Proveedor y Turista

parent 1af16a73
No related branches found
No related tags found
No related merge requests found
......@@ -8,10 +8,10 @@ public class Proveedor extends Usuario {
private boolean hayLink;
private HashMap<String, Actividad> actividades;
public Proveedor(String n, String ap,String nick, String c, String desc,String l,boolean hayl) {
super(n,ap,nick,c);
public Proveedor(String nick, String nom,String apellido, String mail, Date nacimiento, String desc,String link,boolean hayl) {
super(nick,nom,apellido,mail,nacimiento);
this.descripcion = desc;
this.link = l;
this.link = link;
this.hayLink = hayl;
this.actividades = new HashMap<String, Actividad>();
}
......
......@@ -6,9 +6,9 @@ public class Turista extends Usuario {
private String nacionalidad;
private Set<CompraGeneral> comprasG;
public Turista(String nac,String n, String ap,String nick, String c) {
super(n,ap,nick,c);
this.nacionalidad = nac;
public Turista(String nick,String nom, String ap,String mail, Date nacimiento, String nacionalidad) {
super(nick,nom,ap,mail,nacimiento);
this.nacionalidad = nacionalidad;
this.comprasG = new HashSet<CompraGeneral>();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment