Adding Seat plan component and database tables

This commit is contained in:
2024-10-01 15:37:08 +02:00
parent d6997229c4
commit bd53b8edfc
33 changed files with 880 additions and 204 deletions

View File

@@ -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
}>
}

View File

@@ -1,4 +1,4 @@
import { LocationModel } from "./locationModel"
import { LocationModel } from "./../locations/locationModel"
export class ConcertModel {
id: number

View File

@@ -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
}
}>
}