source: resTools_backend/backend/DTOs/RestaurantResponse.cs

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

reviews full feature

  • Property mode set to 100644
File size: 603 bytes
RevLine 
[057037b]1using Newtonsoft.Json;
2
3namespace backend.DTOs
4{
5 public class RestaurantResponse
6 {
7 [JsonProperty]
[cc4db18]8 public string Name { get; set; }
[057037b]9 [JsonProperty]
[cc4db18]10 public string Address { get; set; }
[057037b]11 [JsonProperty]
[cc4db18]12 public string Phone { get; set; }
13 [JsonProperty]
14 public List<MenuItemResponse> Menu { get; set; }
15 [JsonProperty]
[899b19d]16 public List<ReviewResponse> Reviews { get; set; }
17 [JsonProperty]
18 public double AverageReview { get; set; }
19 [JsonProperty]
[cc4db18]20 public string Base64Image { get; set; }
[057037b]21 }
22}
Note: See TracBrowser for help on using the repository browser.