Example data - Added sample data generation for RoomCategories.
CI / Docker Lint (push) Successful in 4s
CI / Docker Lint (push) Successful in 4s
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
[
|
||||
{
|
||||
"name": "Double Bed",
|
||||
"iconUrl": "icon-bed-double"
|
||||
},
|
||||
{
|
||||
"name": "Single Bed",
|
||||
"iconUrl": "icon-bed-single"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,41 @@
|
||||
[
|
||||
{
|
||||
"name": "Double room (double bed)",
|
||||
"description": "Room with double bed and shared bathroom",
|
||||
"maxGuestNum": 2,
|
||||
"orderHomePage": null,
|
||||
"roomCategoryPhotos": [
|
||||
{
|
||||
"path": "https://images.unsplash.com/photo-1559841644-08984562005a",
|
||||
"altText": "Room",
|
||||
"photoOrder": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Double w/ bath (double bed)",
|
||||
"description": "Room with double bed and private bathroom",
|
||||
"maxGuestNum": 2,
|
||||
"orderHomePage": null,
|
||||
"roomCategoryPhotos": [
|
||||
{
|
||||
"path": "https://images.unsplash.com/photo-1559841644-08984562005a",
|
||||
"altText": "Room",
|
||||
"photoOrder": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Double w/ bath (single bed)",
|
||||
"description": "Room with 2 single beds and private bathroom",
|
||||
"maxGuestNum": 2,
|
||||
"orderHomePage": null,
|
||||
"roomCategoryPhotos": [
|
||||
{
|
||||
"path": "https://images.unsplash.com/photo-1559841644-08984562005a",
|
||||
"altText": "Room",
|
||||
"photoOrder": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,12 @@
|
||||
[
|
||||
{
|
||||
"amount": 1,
|
||||
"roomCategory": 0,
|
||||
"bedType": 0
|
||||
},
|
||||
{
|
||||
"amount": 1,
|
||||
"roomCategory": 2,
|
||||
"bedType": 1
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user