source: resTools_backend/backend/Entities/Reservation.cs

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

reservation module changes + contact module + menu module

  • Property mode set to 100644
File size: 781 bytes
Line 
1using Newtonsoft.Json;
2
3namespace backend.Entities
4{
5 public class Reservation
6 {
7 public int Id { get; set; }
8 public DateTime StartDate { get; set; }
9 public int Persons { get; set; }
10 public virtual Restaurant Restaurant { get; set; }
11 public ReservationPlace ReservationPlace { get; set; }
12 public ReservationStatus ReservationStatus { get; set; }
13 public ReservationType ReservationType { get; set; }
14 public string ContactName { get; set; }
15 public string ContactNumber { get; set; }
16 public int Table { get; set; }
17 }
18
19 public enum ReservationType { Short, Long, Event }
20 public enum ReservationPlace { Outside, Inside}
21 public enum ReservationStatus { New, Confirmed, Cancelled }
22}
Note: See TracBrowser for help on using the repository browser.