Last change
on this file since 63f5ced was 899b19d, checked in by Danilo <danilo.najkov@…>, 2 years ago |
reviews full feature
|
-
Property mode
set to
100644
|
File size:
603 bytes
|
Rev | Line | |
---|
[057037b] | 1 | using Newtonsoft.Json;
|
---|
| 2 |
|
---|
| 3 | namespace 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.