1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-15 00:24:09 +01:00
fab-manager/app/frontend/src/javascript/models/reservation.ts
2021-04-22 19:24:08 +02:00

19 lines
380 B
TypeScript

export interface ReservationSlot {
id?: number,
start_at: Date,
end_at: Date,
availability_id: number,
offered: boolean
}
export interface Reservation {
reservable_id: number,
reservable_type: string,
slots_attributes: Array<ReservationSlot>,
nb_reserve_places?: number,
tickets_attributes?: {
event_price_category_id: number,
booked: boolean,
},
}