Last change
on this file since 7a983b0 was 7a983b0, checked in by Danilo <danilo.najkov@…>, 2 years ago |
move files
|
-
Property mode
set to
100644
|
File size:
381 bytes
|
Rev | Line | |
---|
[057037b] | 1 | using Newtonsoft.Json;
|
---|
| 2 |
|
---|
| 3 | namespace backend.DTOs
|
---|
| 4 | {
|
---|
| 5 | public class RestaurantResponse
|
---|
| 6 | {
|
---|
| 7 | [JsonProperty]
|
---|
| 8 | public int Id { get; set; }
|
---|
| 9 | [JsonProperty]
|
---|
| 10 | public int? OwnerId { get; set; }
|
---|
| 11 | [JsonProperty]
|
---|
| 12 | public List<ReservationResponse> Reservations { get; set; }
|
---|
| 13 | [JsonProperty]
|
---|
| 14 | public string Name { get; set; }
|
---|
| 15 | }
|
---|
| 16 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.