Last change
on this file since 057037b was 057037b, checked in by Danilo <danilo.najkov@…>, 2 years ago |
backend full
|
-
Property mode
set to
100644
|
File size:
381 bytes
|
Line | |
---|
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.