Ignore:
Timestamp:
07/10/22 10:27:45 (2 years ago)
Author:
Danilo <danilo.najkov@…>
Branches:
master
Children:
a26f6a1
Parents:
cc4db18
Message:

reviews full feature

Location:
resTools_backend/backend/Entities
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • resTools_backend/backend/Entities/Restaurant.cs

    rcc4db18 r899b19d  
    1010        public virtual ICollection<Reservation> Reservations { get; set; }
    1111        public virtual ICollection<MenuItem> Menu { get; set; }
     12        public virtual ICollection<Review> Reviews { get; set; }
    1213        public string Name { get; set; }
    1314        public string Address { get; set; }
  • resTools_backend/backend/Entities/User.cs

    rcc4db18 r899b19d  
    88    public string Email { get; set; }
    99    public string Password { get; set; }
    10     [JsonIgnore]
     10    public bool IsAdmin { get; set; }
    1111    public virtual Restaurant Restaurant { get; set; }
    1212}
Note: See TracChangeset for help on using the changeset viewer.