Remove EventModel in frontend
This commit is contained in:
1 parent
6c33de3d87
commit
c8d87f6643
33 files changed
+313
-377
No files matched your search
@@ -1,4 +1,5 @@
|
||||
import { BandModel } from "./bandModel";
|
||||
import { ConcertModel } from "./concertModel";
|
||||
import { GenreModel } from "./genreModel"
|
||||
|
||||
/**
|
||||
@@ -7,5 +8,5 @@ import { GenreModel } from "./genreModel"
|
||||
export class BandApiModel extends BandModel {
|
||||
genres: Array<GenreModel> = []
|
||||
rating: number = 0
|
||||
nrOfConcerts: number = 0
|
||||
concerts: Array<ConcertModel> = []
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
import { LocationDetailsApiModel } from "../locations/locationDetailsApiModel";
|
||||
import { BandModel } from "./bandModel";
|
||||
import { ConcertModel } from "./concertModel";
|
||||
|
||||
export class ConcertDetailsApiModel extends ConcertModel {
|
||||
location: LocationDetailsApiModel = new LocationDetailsApiModel()
|
||||
band: BandModel = new BandModel()
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user