source: resTools_backend/backend/DTOs/CreateReservationRequest.cs

Last change on this file was 7a983b0, checked in by Danilo <danilo.najkov@…>, 3 years ago

move files

  • Property mode set to 100644
File size: 719 bytes
Line 
1using backend.Entities;
2using Newtonsoft.Json;
3
4namespace backend.DTOs
5{
6 public class CreateReservationRequest
7 {
8 [JsonRequired]
9 [JsonProperty]
10 public DateTime StartDate { get; set; }
11 [JsonRequired]
12 [JsonProperty]
13 public ReservationPlace ReservationPlace { get; set; }
14 [JsonRequired]
15 [JsonProperty]
16 public ReservationType ReservationType { get; set; }
17 [JsonRequired]
18 [JsonProperty]
19 public int Persons { get; set; }
20 [JsonRequired]
21 [JsonProperty]
22 public string ContactName { get; set; }
23 [JsonRequired]
24 [JsonProperty]
25 public string ContactNumber { get; set; }
26 }
27}
Note: See TracBrowser for help on using the repository browser.