Untitled
unknown
plain_text
a year ago
34 kB
8
Indexable
export interface Amenity {
id: number
category: string
amenity: string
propertyId: number | null
bookableUnitTypeId: number | null
}
export const properties = [
{
id: 1,
// Host
hostId: 4,
Host: {
id: 4,
firstName: 'Richard',
lastName: 'Dela pena',
},
status: 'Incomplete',
finishedSections: '["type", "basicInfo", "location"]',
name: 'Mountain top house',
description: 'House in the top of the mountain',
currency: 'PHP',
primaryLanguage: 'Tagalog',
// Property Photos
Photos: [
{
id: 1,
thumbKey: '1.jpg',
key: '2.jpg',
description: 'Outside view',
tag: '#develop',
},
{
id: 2,
thumbKey: '3.jpg',
key: '4.jpg',
description: 'Interior view',
tag: '#develop',
},
],
phone: '09492622242',
email: 'supermario@gmail.com',
Location: {
street: 'General Luna Road',
barangay: 'General Luna',
city: 'General Luna',
latitude: 9.781834918610693,
longitude: 126.15633820548364,
howToGetThere: '',
},
checkInTime: '2024-03-14 03:09:52.697',
checkOutTime: '2024-03-17 03:09:52.697',
lateCheckOutAllowed: true,
lateCheckOutType: 'Type C',
lateCheckoutValue: 25.5,
termsAndConditions: 'No payment no check in',
// Amenities
Amenities: [
{
id: 1,
category: 'Devices',
amenity: 'Free Wi-Fi',
propertyId: 1,
bookableUnitTypeId: null,
},
{
id: 2,
category: 'Devices',
amenity: 'With CCTV',
propertyId: 1,
bookableUnitTypeId: null,
},
{
id: 3,
category: 'Food and Drinks',
amenity: 'Free Coffee',
propertyId: null,
bookableUnitTypeId: 2,
},
{
id: 4,
category: 'Food and Drinks',
amenity: 'Free snacks',
propertyId: null,
bookableUnitTypeId: 2,
},
],
taxId: 20032024,
taxId2: 21032024,
companyLegalName: 'Mario Bros real estate',
type: 'Hostel',
//facilities
Facilities: [
{
id:1,
index:1,
category: 'Food and Drink',
facility: 'Bar',
propertyId: 1,
bookableUnitTypeId: null,
isSelected:false
},
{
id:2,
index:2,
category: 'Food and Drink',
facility: 'Restaurant',
propertyId: 1,
bookableUnitTypeId: null,
isSelected:true
},
{
id:11,
index:3,
category: 'Services',
facility: 'Tour desk',
propertyId: 1,
bookableUnitTypeId: null,
isSelected:true
},
{
id:12,
index:4,
category: 'Services',
facility: 'Free airport shuttle',
propertyId: 1,
bookableUnitTypeId: null,
isSelected:true
},
],
Policies: [
{
id: 1,
index: 1,
category: 'Things To Know',
policy: 'No pets allowed',
reason: null,
propertyId: 1,
isSelected: true,
},
{
id: 2,
index: 3,
category: 'Things To Know',
policy: 'No parties or events',
reason: null,
propertyId: 1,
isSelected: true,
},
{
id: 3,
index: 24,
category: 'Additional Rules',
policy: 'Custom rule 1',
reason: null,
propertyId: 1,
isSelected: true,
},
{
id: 5,
index: 10,
category: 'Safety Consideration',
policy: 'Not suitable for children',
reason:
'Certain activities or environments may be too complex or challenging for children',
propertyId: 1,
isSelected: true,
},
{
id: 6,
index: 11,
category: 'Safety Consideration',
policy: 'Near by ocean, river, other body of water',
reason:
'Some environments or activities may pose safety risks to children due to hazards such as sharp objects, high places, heavy machinery, or dangerous substances',
propertyId: 1,
isSelected: true,
},
{
id: 7,
index: 12,
category: 'Safety Devices',
policy: 'Carbon Monoxide installed',
reason: null,
propertyId: 1,
isSelected: true,
},
{
id: 8,
index: 13,
category: 'Safety Devices',
policy: 'No carbon monoxide alarm',
reason: null,
propertyId: 1,
isSelected: true,
},
{
id: 9,
index: 21,
category: 'Property Info',
policy: 'No parking on property',
reason:
'Information about fire safety measures in the property, including the location of fire exits, fire extinguishers, smoke detectors, and emergency evacuation procedures.',
propertyId: 1,
isSelected: true,
},
{
id: 10,
index: 22,
category: 'Property Info',
policy: 'No wheelchair access',
reason:
'Details about security features in the property, such as locks on doors and windows, security cameras, alarm systems, and any neighborhood watch programs.',
propertyId: 1,
isSelected: true,
},
],
// Bookable Unit
BookableUnit: [
{
id: 1,
BookableUnitType: [
{
id: 1,
qty: 5,
category: 'Bed',
name: '2-person bed',
description: '1x2 bed with spacious alley',
totalSize: null,
unitPrice: {
id: 1,
baseRate: 5000.0,
baseRateMaxcapacity: 5,
maximumCapacity: 10,
pricePerAdditionalPerson: 2000.0,
discountedWeekLyRate: 20,
discountMonthlyRate: 30,
},
Amenities: [
{
category: 'Most popular',
amenity: 'Air Conditioning',
},
{
category: 'Bathroom',
amenity: 'Toilet',
},
],
Photo: {
id: 11,
thumbKey: '1.jpg',
key: '1.jpg',
caption: 'Bed',
},
isPrivate: true,
maxGuest: 5,
adultsIncluded: 2,
childrenIncluded: 1,
isMultiRoomUnit: false,
},
{
id: 2,
qty: 1,
category: 'Bed',
name: '3-person bed',
description: '2x2 bed with aircon',
totalSize: null,
unitPrice: {
id: 2,
baseRate: 3000.0,
baseRateMaxcapacity: 2,
maximumCapacity: 4,
pricePerAdditionalPerson: 1000.0,
discountedWeekLyRate: 10,
discountMonthlyRate: 30,
},
Amenities: [
{
category: 'Most popular',
amenity: 'Air Conditioning',
},
{
category: 'Bathroom',
amenity: 'Toilet',
},
],
Photo: {
id: 12,
thumbKey: '2.jpg',
key: '2.jpg',
caption: 'Bed',
},
isPrivate: true,
maxGuest: 8,
adultsIncluded: 2,
childrenIncluded: 4,
isMultiRoomUnit: false,
},
{
id: 3,
qty: 3,
category: 'Bed',
name: '1-person bed',
description: '1x2 bed with spacious TV and aircon',
totalSize: null,
unitPrice: {
id: 3,
baseRate: 500.0,
baseRateMaxcapacity: 1,
maximumCapacity: 1,
pricePerAdditionalPerson: 0.0,
discountedWeekLyRate: 10,
discountMonthlyRate: 30,
},
Amenities: [
{
category: 'Most popular',
amenity: 'Air Conditioning',
},
{
category: 'Bathroom',
amenity: 'Toilet',
},
],
Photo: {
id: 13,
thumbKey: '3.jpg',
key: '3.jpg',
caption: 'Bed',
},
isPrivate: true,
maxGuest: 8,
adultsIncluded: 2,
childrenIncluded: 4,
isMultiRoomUnit: false,
},
],
},
{
id: 2,
BookableUnitType: [
{
id: 4,
qty: 4,
category: 'Room',
name: 'room 1',
description: '2 Beds with aircon',
unitPrice: {
id: 4,
baseRate: 3000.0,
baseRateMaxcapacity: 2,
maximumCapacity: 4,
pricePerAdditionalPerson: 1000.0,
discountedWeekLyRate: 10,
discountMonthlyRate: 30,
},
Amenities: [
{
category: 'Most popular',
amenity: 'Air Conditioning',
},
{
category: 'Bathroom',
amenity: 'Toilet',
},
],
Photo: {
id: 14,
thumbKey: '4.jpg',
key: '4.jpg',
caption: 'Room',
},
isPrivate: true,
maxGuest: 10,
adultsIncluded: 5,
childrenIncluded: 5,
isMultiRoomUnit: false,
},
{
id: 5,
qty: 2,
category: 'Room',
name: 'room 2',
description: '4 Beds with aircon and TV',
unitPrice: {
id: 5,
baseRate: 5000.0,
baseRateMaxcapacity: 5,
maximumCapacity: 10,
pricePerAdditionalPerson: 2000.0,
discountedWeekLyRate: 20,
discountMonthlyRate: 30,
},
Amenities: [
{
category: 'Most popular',
amenity: 'Air Conditioning',
},
{
category: 'Bathroom',
amenity: 'Toilet',
},
],
Photo: {
id: 15,
thumbKey: '5.jpg',
key: '5.jpg',
caption: 'Room',
},
isPrivate: true,
maxGuest: 5,
adultsIncluded: 1,
childrenIncluded: 1,
isMultiRoomUnit: false,
},
],
},
{
id: 3,
BookableUnitType: [
{
id: 6,
qty: 6,
category: 'Whole-Place',
name: 'Apartement 1',
description: '',
numBedrooms: 2,
numBathrooms: 2,
BedConfigs: [
{
bedName: 'Bed 1',
bedType: 'Queen Bed',
},
{
bedName: 'Bed 2',
bedType: 'Queen Bed',
},
],
unitPrice: {
id: 6,
baseRate: 10000.0,
baseRateMaxcapacity: 20,
maximumCapacity: 30,
pricePerAdditionalPerson: 3000.0,
discountedWeekLyRate: 10,
discountMonthlyRate: 30,
},
Amenities: [
{
category: 'Most popular',
amenity: 'Air Conditioning',
},
{
category: 'Bathroom',
amenity: 'Toilet',
},
],
totalSize: '25m',
Photo: {
id: 100,
thumbKey: '5.jpg',
key: '5.jpg',
description: '',
tags: '',
},
isPrivate: false,
maxGuest: 5,
adultsIncluded: 2,
childrenIncluded: 0,
isMultiRoomUnit: false,
},
{
id: 6,
qty: 3,
category: 'Whole-Place',
name: 'Apartement 2',
description: '',
numBedrooms: 2,
numBathrooms: 2,
BedConfigs: [
{
bedName: 'Bed 1',
bedType: 'Queen Bed',
},
{
bedName: 'Bed 2',
bedType: 'Queen Bed',
},
],
unitPrice: {
id: 7,
baseRate: 150000.0,
baseRateMaxcapacity: 5,
maximumCapacity: 20,
pricePerAdditionalPerson: 3000.0,
discountedWeekLyRate: 30,
discountMonthlyRate: 40,
},
Amenities: [
{
category: 'Most popular',
amenity: 'Air Conditioning',
},
{
category: 'Bathroom',
amenity: 'Toilet',
},
],
totalSize: '25m',
Photo: {
id: 100,
thumbKey: '5.jpg',
key: '5.jpg',
description: '',
tags: '',
},
isPrivate: false,
maxGuest: 5,
adultsIncluded: 2,
childrenIncluded: 0,
isMultiRoomUnit: false,
},
],
},
],
reservation: [
{
id: 1,
mainGuestId: 1,
status: 'confirmed',
startDate: '2024-03-14 03:09:52.697',
endDate: '2024-03-15 03:09:52.697',
},
{
id: 2,
mainGuestId: 2,
status: 'not_confirmed',
startDate: '2024-03-16 03:09:52.697',
endDate: '2024-03-17 03:09:52.697',
},
],
},
{
id: 2,
// Host
hostId: 3,
Host: {
id: 3,
firstName: 'John Patrick',
lastName: 'Madrigal',
},
status: 'Pending',
finishedSections: '[]',
name: 'Mountain top house',
description: 'House in the top of the mountain',
currency: 'PHP',
primaryLanguage: 'Tagalog',
// Property Photos
Photos: [
{
id: 1,
thumbKey: '1.jpg',
key: '1.jpg',
description: 'Outside view',
tag: '#develop',
},
{
id: 2,
thumbKey: '3.jpg',
key: '4.jpg',
description: 'Interior view',
tag: '#develop',
},
],
phone: '09492622242',
email: 'supermario@gmail.com',
Location: {
street: 'Looban',
barangay: 'Cabooan',
city: 'Santa Maria',
latitude: 200.25,
longitude: 108.59,
howToGetThere: '',
},
checkInTime: '2024-03-14 03:09:52.697',
checkOutTime: '2024-03-17 03:09:52.697',
lateCheckOutAllowed: true,
lateCheckOutType: 'Type C',
lateCheckoutValue: 25.5,
termsAndConditions: 'No payment no check in',
// Amenities
Amenities: [
{
id: 1,
category: 'Pool',
amenity: 'with jacusi',
propertyId: 1,
bookableUnitTypeId: null,
},
{
id: 2,
category: 'Pool',
amenity: 'with hot spring',
propertyId: 1,
bookableUnitTypeId: null,
},
{
id: 3,
category: 'Bathroom',
amenity: 'Free soap',
propertyId: null,
bookableUnitTypeId: 2,
},
{
id: 4,
category: 'Bathroom',
amenity: 'free water',
propertyId: null,
bookableUnitTypeId: 2,
},
],
taxId: 20032024,
taxId2: 21032024,
companyLegalName: 'Mario Bros real estate',
type: 'Hostel',
Facilities: [
{
id:3,
index:11,
category: 'Food & Drink',
facility: 'Free breakfast included',
propertyId: 2,
bookableUnitTypeId: null,
isSelected:true
},
{
id:4,
index:12,
category: 'Food & Drink',
facility: 'Snack bar',
propertyId: 2,
bookableUnitTypeId: null,
isSelected:true
},
{
id:31,
index:13,
category: 'Most Popular',
facility: 'Facility 3',
propertyId: 2,
bookableUnitTypeId: null,
isSelected:true
},
{
id:32,
index:14,
category: 'Most Popular',
facility: 'Facility 4',
propertyId: 2,
bookableUnitTypeId: null,
isSelected:true
},
],
Policies: [
{
id: 1,
index: 1,
category: 'Things To Know',
policy: 'No pets allowed',
reason: null,
propertyId: 1,
isSelected: true,
},
{
id: 2,
index: 3,
category: 'Things To Know',
policy: 'No parties or events',
reason: null,
propertyId: 1,
isSelected: true,
},
{
id: 3,
index: 24,
category: 'Additional Rules',
policy: 'Custom rule 1',
reason: null,
propertyId: 1,
isSelected: true,
},
{
id: 5,
index: 10,
category: 'Safety Consideration',
policy: 'Not suitable for children',
reason:
'Certain activities or environments may be too complex or challenging for children',
propertyId: 1,
isSelected: true,
},
{
id: 6,
index: 11,
category: 'Safety Consideration',
policy: 'Near by ocean, river, other body of water',
reason:
'Some environments or activities may pose safety risks to children due to hazards such as sharp objects, high places, heavy machinery, or dangerous substances',
propertyId: 1,
isSelected: true,
},
{
id: 7,
index: 12,
category: 'Safety Devices',
policy: 'Carbon Monoxide installed',
reason: null,
propertyId: 1,
isSelected: true,
},
{
id: 8,
index: 13,
category: 'Safety Devices',
policy: 'No carbon monoxide alarm',
reason: null,
propertyId: 1,
isSelected: true,
},
{
id: 9,
index: 21,
category: 'Property Info',
policy: 'No parking on property',
reason:
'Information about fire safety measures in the property, including the location of fire exits, fire extinguishers, smoke detectors, and emergency evacuation procedures.',
propertyId: 1,
isSelected: true,
},
{
id: 10,
index: 22,
category: 'Property Info',
policy: 'No wheelchair access',
reason:
'Details about security features in the property, such as locks on doors and windows, security cameras, alarm systems, and any neighborhood watch programs.',
propertyId: 1,
isSelected: true,
},
],
// Bookable Unit
BookableUnit: [
{
id: 1,
BookableUnitType: [
{
id: 7,
category: 'Room',
name: 'room 1',
description: '2 Beds with CR',
unitPrice: {
id: 8,
baseRate: 3000.0,
baseRateMaxcapacity: 2,
maximumCapacity: 4,
pricePerAdditionalPerson: 1000.0,
discountedWeekLyRate: 10,
discountMonthlyRate: 30,
},
Photo: {
id: 16,
thumbKey: '5.jpg',
key: '5.jpg',
description: 'Room',
tag: '#develop',
},
isPrivate: true,
maxGuest: 5,
adultsIncluded: 2,
childrenIncluded: 1,
isMultiRoomUnit: false,
},
{
id: 8,
category: 'Room',
name: 'room 2',
description: '2 Beds with aircon',
unitPrice: {
id: 9,
baseRate: 3000.0,
baseRateMaxcapacity: 2,
maximumCapacity: 4,
pricePerAdditionalPerson: 1000.0,
discountedWeekLyRate: 10,
discountMonthlyRate: 30,
},
Photo: {
id: 17,
thumbKey: '4.jpg',
key: '4.jpg',
description: 'Room',
tag: '#develop',
},
isPrivate: true,
maxGuest: 8,
adultsIncluded: 2,
childrenIncluded: 4,
isMultiRoomUnit: false,
},
],
},
{
id: 2,
BookableUnitType: [
{
id: 9,
category: 'Bed',
name: 'Bed-A',
description: 'King bed',
isPrivate: true,
maxGuest: 10,
adultsIncluded: 5,
childrenIncluded: 5,
isMultiRoomUnit: false,
unitPrice: {
id: 10,
baseRate: 1000.0,
baseRateMaxcapacity: 2,
maximumCapacity: 2,
pricePerAdditionalPerson: 500.0,
discountedWeekLyRate: 10,
discountMonthlyRate: 20,
},
},
{
id: 10,
category: 'Bed',
name: 'Bed-B',
description: 'Queen Bed',
photo: {
id: 18,
thumbKey: '3.jpg',
key: '3.jpg',
description: 'Bed',
tag: '#develop',
},
unitPrice: {
id: 11,
baseRate: 3000.0,
baseRateMaxcapacity: 2,
maximumCapacity: 4,
pricePerAdditionalPerson: 1000.0,
discountedWeekLyRate: 10,
discountMonthlyRate: 30,
},
isPrivate: true,
maxGuest: 5,
adultsIncluded: 1,
childrenIncluded: 1,
isMultiRoomUnit: false,
},
],
},
],
// Reservation
reservation: [
{
id: 1,
mainGuestId: 4,
status: 'confirmed',
startDate: '2024-03-14 03:09:52.697',
endDate: '2024-03-15 03:09:52.697',
},
{
id: 2,
mainGuestId: 4,
status: 'not_confirmed',
startDate: '2024-03-16 03:09:52.697',
endDate: '2024-03-17 03:09:52.697',
},
],
},
{
id: 3,
// Host
hostId: 3,
Host: {
id: 3,
firstName: 'John Patrick',
lastName: 'Madrigal',
},
status: 'Pending',
finishedSections: '[]',
name: 'Word of Life',
description: 'Resort in far far away',
currency: 'PHP',
primaryLanguage: 'Tagalog',
// Property Photos
Photos: [
{
id: 1,
thumbKey: '1.jpg',
key: '2.jpg',
description: 'Outside view',
tag: '#develop',
},
{
id: 2,
thumbKey: '3.jpg',
key: '4.jpg',
description: 'Interior view',
tag: '#develop',
},
],
phone: '09092558726',
email: 'luigi@gmail.com',
Location: {
street: 'JP. Rizal',
barangay: 'San Jose',
city: 'Pangil',
latitude: 205.25,
longitude: 105.59,
howToGetThere: '',
},
checkInTime: '2024-03-14 03:09:52.697',
checkOutTime: '2024-03-17 03:09:52.697',
lateCheckOutAllowed: true,
lateCheckOutType: 'Type C',
lateCheckoutValue: 25.5,
termsAndConditions: 'No payment no check in',
// Amenities
Amenities: [
{
id: 1,
category: 'Room',
amenity: 'free blankets',
propertyId: 1,
bookableUnitTypeId: null,
},
{
id: 2,
category: 'Room',
amenity: 'with dim lights',
propertyId: 1,
bookableUnitTypeId: null,
},
{
id: 3,
category: 'House',
amenity: 'with parking',
propertyId: null,
bookableUnitTypeId: 2,
},
{
id: 4,
category: 'House',
amenity: 'with driveway',
propertyId: null,
bookableUnitTypeId: 2,
},
],
taxId: 20032024,
taxId2: 21032024,
companyLegalName: 'Mario Bros real estate',
type: 'Villa',
Facilities: [
{
id:35,
index:15,
category: 'Most Popular',
facility: 'Bar',
propertyId: 3,
bookableUnitTypeId: null,
isSelected:true
},
{
id:36,
index:17,
category: 'Most Popular',
facility: 'Sauna',
propertyId: 3,
bookableUnitTypeId: null,
isSelected:true
},
{
id:37,
index:18,
category: 'Most Popular',
facility: 'Garden',
propertyId: 3,
bookableUnitTypeId: null,
isSelected:true
},
{
id:38,
index:19,
category: 'Most Popular',
facility: 'Free WiFi',
propertyId: 3,
bookableUnitTypeId: null,
isSelected:true
},
],
Policies: [
{
id: 1,
index: 1,
category: 'Things To Know',
policy: 'No pets allowed',
reason: null,
propertyId: 1,
isSelected: true,
},
{
id: 2,
index: 3,
category: 'Things To Know',
policy: 'No parties or events',
reason: null,
propertyId: 1,
isSelected: true,
},
{
id: 3,
index: 24,
category: 'Additional Rules',
policy: 'Custom rule 1',
reason: null,
propertyId: 1,
isSelected: true,
},
{
id: 5,
index: 10,
category: 'Safety Consideration',
policy: 'Not suitable for children',
reason:
'Certain activities or environments may be too complex or challenging for children',
propertyId: 1,
isSelected: true,
},
{
id: 6,
index: 11,
category: 'Safety Consideration',
policy: 'Near by ocean, river, other body of water',
reason:
'Some environments or activities may pose safety risks to children due to hazards such as sharp objects, high places, heavy machinery, or dangerous substances',
propertyId: 1,
isSelected: true,
},
{
id: 7,
index: 12,
category: 'Safety Devices',
policy: 'Carbon Monoxide installed',
reason: null,
propertyId: 1,
isSelected: true,
},
{
id: 8,
index: 13,
category: 'Safety Devices',
policy: 'No carbon monoxide alarm',
reason: null,
propertyId: 1,
isSelected: true,
},
{
id: 9,
index: 21,
category: 'Property Info',
policy: 'No parking on property',
reason:
'Information about fire safety measures in the property, including the location of fire exits, fire extinguishers, smoke detectors, and emergency evacuation procedures.',
propertyId: 1,
isSelected: true,
},
{
id: 10,
index: 22,
category: 'Property Info',
policy: 'No wheelchair access',
reason:
'Details about security features in the property, such as locks on doors and windows, security cameras, alarm systems, and any neighborhood watch programs.',
propertyId: 1,
isSelected: true,
},
],
// Bookable Unit
BookableUnit: [
{
id: 1,
BookableUnitType: [
{
id: 11,
category: 'Bed',
name: 'Bed in Bed',
description: 'bed in bed',
photo: {
id: 19,
thumbKey: '2.jpg',
key: '2.jpg',
caption: 'Bed',
},
unitPrice: {
id: 12,
baseRate: 3000.0,
baseRateMaxcapacity: 2,
maximumCapacity: 4,
pricePerAdditionalPerson: 1000.0,
discountedWeekLyRate: 10,
discountMonthlyRate: 30,
},
isPrivate: true,
maxGuest: 5,
adultsIncluded: 2,
childrenIncluded: 1,
isMultiRoomUnit: false,
},
{
id: 12,
category: 'Bed',
name: 'Bed 1',
description: 'amazing bed',
photo: {
id: 19,
thumbKey: '1.jpg',
key: '1.jpg',
caption: 'Bed',
},
unitPrice: {
id: 13,
baseRate: 3000.0,
baseRateMaxcapacity: 2,
maximumCapacity: 4,
pricePerAdditionalPerson: 1000.0,
discountedWeekLyRate: 10,
discountMonthlyRate: 30,
},
isPrivate: true,
maxGuest: 5,
adultsIncluded: 2,
childrenIncluded: 1,
isMultiRoomUnit: false,
},
{
id: 13,
category: 'Bed',
name: 'Bed 2',
description: 'Bed cold',
photo: {
id: 20,
thumbKey: '1.jpg',
key: '1.jpg',
caption: 'Bed',
},
unitPrice: {
id: 14,
baseRate: 3000.0,
baseRateMaxcapacity: 2,
maximumCapacity: 4,
pricePerAdditionalPerson: 1000.0,
discountedWeekLyRate: 10,
discountMonthlyRate: 30,
},
isPrivate: true,
maxGuest: 5,
adultsIncluded: 2,
childrenIncluded: 1,
isMultiRoomUnit: false,
},
{
id: 14,
category: 'Room',
name: 'room 2',
description: 'Bid room',
photo: {
id: 21,
thumbKey: '3.jpg',
key: '3.jpg',
caption: 'Bed',
},
unitPrice: {
id: 15,
baseRate: 3000.0,
baseRateMaxcapacity: 2,
maximumCapacity: 4,
pricePerAdditionalPerson: 1000.0,
discountedWeekLyRate: 10,
discountMonthlyRate: 30,
},
isPrivate: true,
maxGuest: 8,
adultsIncluded: 2,
childrenIncluded: 4,
isMultiRoomUnit: false,
},
],
},
{
id: 2,
BookableUnitType: [
{
id: 15,
category: 'Bed',
name: 'bed 3',
description: 'Double Bed',
photo: {
id: 22,
thumbKey: '4.jpg',
key: '3.jpg',
caption: 'Bed',
},
unitPrice: {
id: 16,
baseRate: 3000.0,
baseRateMaxcapacity: 2,
maximumCapacity: 4,
pricePerAdditionalPerson: 1000.0,
discountedWeekLyRate: 10,
discountMonthlyRate: 30,
},
isPrivate: true,
maxGuest: 10,
adultsIncluded: 5,
childrenIncluded: 5,
isMultiRoomUnit: false,
},
{
id: 16,
category: 'Bed',
name: 'bed 4',
description: 'Bed long',
photo: {
id: 22,
thumbKey: '5.jpg',
key: '5.jpg',
caption: 'Bed',
},
unitPrice: {
id: 17,
baseRate: 3000.0,
baseRateMaxcapacity: 2,
maximumCapacity: 4,
pricePerAdditionalPerson: 1000.0,
discountedWeekLyRate: 10,
discountMonthlyRate: 30,
},
isPrivate: true,
maxGuest: 5,
adultsIncluded: 1,
childrenIncluded: 1,
isMultiRoomUnit: false,
},
],
},
],
// Reservation
reservation: [
{
id: 1,
mainGuestId: 4,
status: 'confirmed',
startDate: '2024-03-14 03:09:52.697',
endDate: '2024-03-15 03:09:52.697',
},
{
id: 2,
mainGuestId: 4,
status: 'not_confirmed',
startDate: '2024-03-16 03:09:52.697',
endDate: '2024-03-17 03:09:52.697',
},
],
},
]
Editor is loading...
Leave a Comment