Fix order process

This commit is contained in:
2024-10-21 14:57:03 +02:00
parent 7880a444b1
commit 40161a136a
17 changed files with 212 additions and 213 deletions

View File

@@ -1,19 +1,15 @@
import { BandApiModel } from "../acts/bandApiModel"
import { BandModel } from "../acts/bandModel"
import { ConcertModel } from "../acts/concertModel"
import { EventModel } from "../acts/eventModel"
import { SeatModel } from "../locations/seatModel"
export class BasketItemModel {
concert: ConcertModel
event: EventModel
band: BandModel = new BandModel()
seats: Array<SeatModel> = []
price: number
constructor(concert: ConcertModel, event: EventModel, band: BandModel, seat: SeatModel, price: number) {
constructor(concert: ConcertModel, band: BandModel, seat: SeatModel, price: number) {
this.concert = concert
this.event = event
this.band = band
this.seats = [ seat ]
this.price = price