Inheritance: Entidad
Exemplo n.º 1
0
 /*public Evento(int id, String nombre, String descripcion, float costo, Boolean estado ,Persona persona, Ubicacion ubicacion, Categoria categoria, TipoEvento tipoEvento, Horario horario)
 {
     this.id = id;
     this.nombre = nombre;
     this.descripcion = descripcion;
     this.persona = persona;
     this.costo = costo;
     this.ubicacion = ubicacion;
     this.categoria = categoria;
     this.tipoEvento = tipoEvento;
     this.horario = horario;
     this.estado = estado;
 }*/
 public Evento(int id, String nombre, String descripcion, float costo, Ubicacion ubicacion, TipoEvento tipoEvento, Horario horario)
 {
     this.id = id;
     this.nombre = nombre;
     this.descripcion = descripcion;
     this.costo = costo;
     this.ubicacion = ubicacion;
     this.tipoEvento = tipoEvento;
     this.horario = horario;
 }
Exemplo n.º 2
0
 //constructor sin id
 public Dojo(string Rif, string Nombre, int Telefono, string Email, string Logo, String Status, int organizacion, Ubicacion ubicacion)
 {
     this.rif_dojo = Rif;
     this.nombre_dojo = Nombre;
     this.telefono_dojo = Telefono;
     this.email_dojo = Email;
     this.logo_dojo = Logo;
     this.orgNombre_dojo = Status;
     this.organizacion_dojo = organizacion;
     this.ubicacion = ubicacion;
 }
Exemplo n.º 3
0
 //constructor vacio
 public Dojo()
 {
     this.id_dojo = 0;
     this.rif_dojo = "";
     this.nombre_dojo = "";
     this.telefono_dojo = 0;
     this.email_dojo = "";
     this.logo_dojo = "";
     this.orgNombre_dojo = "";
     this.organizacion_dojo = 0;
     this.ubicacion = null;
 }
Exemplo n.º 4
0
 public Evento(int id, String nombre, String descripcion, float costo, Boolean estado, Ubicacion ubicacion, Categoria categoria, TipoEvento tipoEvento, Horario horario)
 {
     this.id = id;
     this.nombre = nombre;
     this.descripcion = descripcion;
     this.costo = costo;
     this.ubicacion = ubicacion;
     this.categoria = categoria;
     this.tipoEvento = tipoEvento;
     this.horario = horario;
     this.estado = estado;
 }
Exemplo n.º 5
0
 public Competencia()
 {
     id_competencia    = 0;
     nombre            = "";
     tipoCompetencia   = -1;
     organizacionTodas = false;
     status            = "";
     categoria         = null;
     ubicacion         = null;
     organizacion      = null;
     fechaInicio       = default(DateTime);
     fechaFin          = default(DateTime);
     costo             = 0;
 }
Exemplo n.º 6
0
 public Competencia()
     : base()
 {
     id_competencia = 0;
     nombre = "";
     tipoCompetencia = "";
     organizacionTodas = false;
     status = "";
     costo = 0;
     categoria = null;
     ubicacion = null;
     fechaInicio = DateTime.Now;
     fechaFin = DateTime.Now;
     organizacion = null;
     listaOrganizaciones = null;
 }
Exemplo n.º 7
0
 //constructor sin id
 public Dojo(string Rif, string Nombre, int Telefono, string Email, string Logo, String Status, int organizacion, Ubicacion ubicacion)
 {
     this.rif_dojo          = Rif;
     this.nombre_dojo       = Nombre;
     this.telefono_dojo     = Telefono;
     this.email_dojo        = Email;
     this.logo_dojo         = Logo;
     this.status_dojo       = Status;
     this.organizacion_dojo = organizacion;
     this.ubicacion         = ubicacion;
 }
Exemplo n.º 8
0
 public Evento(int id, String nombre, String descripcion, float costo, Boolean estado, Ubicacion ubicacion, Categoria categoria, TipoEvento tipoEvento, Horario horario)
 {
     this.id          = id;
     this.nombre      = nombre;
     this.descripcion = descripcion;
     this.costo       = costo;
     this.ubicacion   = ubicacion;
     this.categoria   = categoria;
     this.tipoEvento  = tipoEvento;
     this.horario     = horario;
     this.estado      = estado;
 }