Adding Seat plan component and database tables

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

View File

@@ -0,0 +1,29 @@
import { SeatGroupModel } from "./seatGroupModel"
/**
* Replica of the API endpoint /locations
*/
export class LocationModel {
id: number
name: string
address: string
image: string
seatSchema: 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
}
}>
seatGroups: Array<SeatGroupModel>
}