creados api y login services con funciones vacías

This commit is contained in:
2021-02-21 11:11:11 +01:00
parent b086fd9eb2
commit 227c254ebc
6 changed files with 88 additions and 2 deletions

View File

@@ -8,6 +8,7 @@ export class Discoteca {
private telefono: number;
private localizacion: string;
private eventos: Evento[];
private descripcion: string;
setNombre(nombre: string): void{
@@ -37,4 +38,12 @@ export class Discoteca {
getEventos(): Evento[]{
return this.eventos;
}
setDescripcion(desc: string): void{
this.descripcion = desc;
}
get Descripcion(): string{
return this.descripcion;
}
}