Booking process - Add and remove rooms from booking.
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
|
||||
export type NewBooking = {
|
||||
arrivalDate: Date,
|
||||
departureDate: Date,
|
||||
customerDetails: NewBookingCustomerDetails,
|
||||
rooms: NewBookingRoom[]
|
||||
};
|
||||
|
||||
export type NewBookingCustomerDetails = {
|
||||
name: string | null,
|
||||
surname: string | null,
|
||||
email: string | null,
|
||||
phoneNumber: string | null
|
||||
};
|
||||
|
||||
export type NewBookingRoom = {
|
||||
roomCategory: number,
|
||||
guestNumber: number,
|
||||
amount: number,
|
||||
price: number
|
||||
};
|
||||
Reference in New Issue
Block a user