Example data - Added sample data generation for RoomCategories.
CI / Docker Lint (push) Successful in 4s

This commit is contained in:
2025-02-04 20:57:51 +01:00
parent dcd0b5f064
commit 4cb3971940
5 changed files with 191 additions and 4 deletions
+10
View File
@@ -0,0 +1,10 @@
[
{
"name": "Double Bed",
"iconUrl": "icon-bed-double"
},
{
"name": "Single Bed",
"iconUrl": "icon-bed-single"
}
]
+41
View File
@@ -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
}
]
}
]
+12
View File
@@ -0,0 +1,12 @@
[
{
"amount": 1,
"roomCategory": 0,
"bedType": 0
},
{
"amount": 1,
"roomCategory": 2,
"bedType": 1
}
]