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
|
Line | |
---|
1 | using Newtonsoft.Json;
|
---|
2 |
|
---|
3 | namespace backend.DTOs
|
---|
4 | {
|
---|
5 | public class RestaurantResponse
|
---|
6 | {
|
---|
7 | [JsonProperty]
|
---|
8 | public string Name { get; set; }
|
---|
9 | [JsonProperty]
|
---|
10 | public string Address { get; set; }
|
---|
11 | [JsonProperty]
|
---|
12 | public string Phone { get; set; }
|
---|
13 | [JsonProperty]
|
---|
14 | public List<MenuItemResponse> Menu { get; set; }
|
---|
15 | [JsonProperty]
|
---|
16 | public List<ReviewResponse> Reviews { get; set; }
|
---|
17 | [JsonProperty]
|
---|
18 | public double AverageReview { get; set; }
|
---|
19 | [JsonProperty]
|
---|
20 | public string Base64Image { get; set; }
|
---|
21 | }
|
---|
22 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.