source: resTools_backend/backend/Entities/Restaurant.cs@ d86edb7

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

reviews full feature

  • Property mode set to 100644
File size: 597 bytes
Line 
1using Newtonsoft.Json;
2
3namespace backend.Entities
4{
5 public class Restaurant
6 {
7 public int Id { get; set; }
8 public int? OwnerFk { get; set; }
9 public virtual User Owner { get; set; }
10 public virtual ICollection<Reservation> Reservations { get; set; }
11 public virtual ICollection<MenuItem> Menu { get; set; }
12 public virtual ICollection<Review> Reviews { get; set; }
13 public string Name { get; set; }
14 public string Address { get; set; }
15 public string Phone { get; set; }
16 public byte[] Image { get; set; }
17 }
18}
Note: See TracBrowser for help on using the repository browser.