Adding Seat plan component and database tables
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
/**
|
||||
* Replica of the API endpoint /cities
|
||||
*/
|
||||
export class CityModel {
|
||||
id: number
|
||||
name: string
|
||||
country: string
|
||||
image: string
|
||||
locations: Array<{
|
||||
id: number
|
||||
name: string
|
||||
address: string
|
||||
image: string
|
||||
nrOfConcerts: number
|
||||
}>
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
import { LocationModel } from "./locationModel"
|
||||
import { LocationModel } from "./../locations/locationModel"
|
||||
|
||||
export class ConcertModel {
|
||||
id: number
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
/**
|
||||
* Replica of the API endpoint /locations
|
||||
*/
|
||||
export class LocationModel {
|
||||
id: number
|
||||
name: string
|
||||
address: string
|
||||
image: string
|
||||
city: {
|
||||
name: string
|
||||
country: string
|
||||
}
|
||||
concerts: Array<{
|
||||
id: number
|
||||
date: string
|
||||
price: number
|
||||
inStock: number
|
||||
tour: {
|
||||
name: string
|
||||
offered: boolean
|
||||
image: string
|
||||
bandName: string
|
||||
}
|
||||
}>
|
||||
}
|
||||
Reference in New Issue
Block a user