class Dinner
{
// TODO: Add methods
}
{
"id": { "value": "00000000-0000-0000-0000-000000000000" },
"name": "Yummy Dinner",
"description": "A dinner with yummy food",
"startDateTime": "2020-01-01T00:00:00.0000000Z",
"endDateTime": "2020-01-01T00:00:00.0000000Z",
"startedDateTime": null,
"endedDateTime": null,
"status": "Upcoming", // Upcoming, InProgress, Ended, Cancelled
"isPublic": true,
"maxGuests": 10,
"price": {
"amount": 10.99,
"currency": "USD"
},
"hostId": { "value": "00000000-0000-0000-0000-000000000000" },
"menuId": { "value": "00000000-0000-0000-0000-000000000000" },
"imageUrl": "https://image.com",
"location": {
"name": "Dan's Pizza Place",
"address": "Berlin, Germany",
"latitude": 52.520008,
"longitude": 13.404954
},
"reservations": [
{
"id": { "value": "00000000-0000-0000-0000-000000000000" },
"guestCount": 2,
"reservationStatus": "Reserved", // PendingGuestConfirmation, Reserved, Cancelled
"guestId": { "value": "00000000-0000-0000-0000-000000000000" },
"billId": { "value": "00000000-0000-0000-0000-000000000000 }",
"arrivalDateTime": null,
"createdDateTime": "2020-01-01T00:00:00.0000000Z",
"updatedDateTime": "2020-01-01T00:00:00.0000000Z"
}
],
"createdDateTime": "2020-01-01T00:00:00.0000000Z",
"updatedDateTime": "2020-01-01T00:00:00.0000000Z"
}