Adding Seat plan component and database tables
This commit is contained in:
16
software/src/data/models/locations/cityModel.ts
Normal file
16
software/src/data/models/locations/cityModel.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
/**
|
||||
* 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
|
||||
}>
|
||||
}
|
||||
Reference in New Issue
Block a user