New page for all concerts

This commit is contained in:
2024-10-12 19:40:12 +02:00
parent 3204e4a658
commit 60a9cea147
56 changed files with 531 additions and 405 deletions

View File

@@ -4,10 +4,10 @@ import { Location } from "./location.model";
@Table({ timestamps: false })
export class City extends Model {
@Column
name: String
name: string
@Column
country: String
country: string
// Relations

View File

@@ -9,20 +9,20 @@ export class Location extends Model {
urlName: string
@Column
name: String
name: string
@Column
address: String
address: string
@ForeignKey(() => City)
@Column
cityId: Number
cityId: number
@Column
imageIndoor: String
imageIndoor: string
@Column
imageOutdoor: String
imageOutdoor: string
/**
* Layout identifier of the location
@@ -31,7 +31,7 @@ export class Location extends Model {
* 3 = Stage in the middle of the stay area, seat places all around
*/
@Column
layout: Number
layout: number
// Relations

View File

@@ -9,7 +9,7 @@ export class Seat extends Model {
@ForeignKey(() => SeatRow)
@Column
seatRowId: Number
seatRowId: number
// Relations

View File

@@ -5,21 +5,21 @@ import { SeatRow } from "./seatRow.model";
@Table({ timestamps: false })
export class SeatGroup extends Model {
@Column
name: String
name: string
@Column
surcharge: Number
surcharge: number
@Column
capacity: Number
capacity: number
@Default(false)
@Column
standingArea: Boolean
standingArea: boolean
@ForeignKey(() => Location)
@Column
locationId: Number
locationId: number
// Relations