discofy inicial

This commit is contained in:
2021-01-18 14:01:50 +01:00
commit 5f48a57c6f
152 changed files with 17101 additions and 0 deletions

40
src/app/discoteca.ts Normal file
View File

@@ -0,0 +1,40 @@
import {Evento} from './evento';
export class Discoteca {
private id: number;
private nombre: string;
private telefono: number;
private localizacion: string;
private eventos: Evento[];
setNombre(nombre: string): void{
this.nombre = nombre;
}
getNombre(): string{
return this.nombre;
}
setTelefono(telefono: number): void{
this.telefono = telefono;
}
getTelefono(): number{
return this.telefono;
}
setLocalizacion(localizacion: string): void{
this.localizacion = localizacion;
}
getLocalizacion(): string{
return this.localizacion
}
getEventos(): Evento[]{
return this.eventos;
}
}