New page for all concerts
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -9,7 +9,7 @@ export class Seat extends Model {
|
||||
|
||||
@ForeignKey(() => SeatRow)
|
||||
@Column
|
||||
seatRowId: Number
|
||||
seatRowId: number
|
||||
|
||||
|
||||
// Relations
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user