|
1 | 1 | using Newtonsoft.Json; |
2 | 2 | using NorthwindCRUD.Models.Dtos; |
3 | 3 |
|
4 | | -namespace NorthwindCRUD.Models |
| 4 | +namespace NorthwindCRUD.Models.Results |
5 | 5 | { |
6 | 6 | public class QueryBuilderResult |
7 | 7 | { |
8 | | - [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] public AddressDto[]? Addresses { get; set; } |
| 8 | + [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] |
| 9 | + public AddressDto[]? Addresses { get; set; } |
9 | 10 |
|
10 | | - [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] public CategoryDto[]? Categories { get; set; } |
| 11 | + [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] |
| 12 | + public CategoryDto[]? Categories { get; set; } |
11 | 13 |
|
12 | | - [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] public ProductDto[]? Products { get; set; } |
| 14 | + [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] |
| 15 | + public ProductDto[]? Products { get; set; } |
13 | 16 |
|
14 | | - [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]public RegionDto[]? Regions { get; set; } |
| 17 | + [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] |
| 18 | + public RegionDto[]? Regions { get; set; } |
15 | 19 |
|
16 | | - [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] public TerritoryDto[]? Territories { get; set; } |
| 20 | + [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] |
| 21 | + public TerritoryDto[]? Territories { get; set; } |
17 | 22 |
|
18 | | - [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] public EmployeeDto[]? Employees { get; set; } |
| 23 | + [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] |
| 24 | + public EmployeeDto[]? Employees { get; set; } |
19 | 25 |
|
20 | | - [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] public CustomerDto[]? Customers { get; set; } |
| 26 | + [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] |
| 27 | + public CustomerDto[]? Customers { get; set; } |
21 | 28 |
|
22 | | - [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] public OrderDto[]? Orders { get; set; } |
| 29 | + [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] |
| 30 | + public OrderDto[]? Orders { get; set; } |
23 | 31 |
|
24 | | - [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] public OrderDetailDto[]? OrderDetails { get; set; } |
| 32 | + [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] |
| 33 | + public OrderDetailDto[]? OrderDetails { get; set; } |
25 | 34 |
|
26 | | - [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] public ShipperDto[]? Shippers { get; set; } |
| 35 | + [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] |
| 36 | + public ShipperDto[]? Shippers { get; set; } |
27 | 37 |
|
28 | | - [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] public SupplierDto[]? Suppliers { get; set; } |
| 38 | + [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] |
| 39 | + public SupplierDto[]? Suppliers { get; set; } |
29 | 40 | } |
30 | 41 | } |
0 commit comments