Changeset 899b19d for resTools_backend/backend/Entities
- Timestamp:
- 07/10/22 10:27:45 (2 years ago)
- Branches:
- master
- Children:
- a26f6a1
- Parents:
- cc4db18
- Location:
- resTools_backend/backend/Entities
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
resTools_backend/backend/Entities/Restaurant.cs
rcc4db18 r899b19d 10 10 public virtual ICollection<Reservation> Reservations { get; set; } 11 11 public virtual ICollection<MenuItem> Menu { get; set; } 12 public virtual ICollection<Review> Reviews { get; set; } 12 13 public string Name { get; set; } 13 14 public string Address { get; set; } -
resTools_backend/backend/Entities/User.cs
rcc4db18 r899b19d 8 8 public string Email { get; set; } 9 9 public string Password { get; set; } 10 [JsonIgnore]10 public bool IsAdmin { get; set; } 11 11 public virtual Restaurant Restaurant { get; set; } 12 12 }
Note:
See TracChangeset
for help on using the changeset viewer.