SearchModels + правки

This commit is contained in:
Леонид Малафеев 2024-04-28 11:11:22 +04:00
parent f0384d599f
commit 969f679f58
9 changed files with 58 additions and 5 deletions

View File

@ -16,7 +16,8 @@ namespace CarCenterContracts.BindingModels
public CarClass CarClass { get; set; }
public int Year { get; set; }
public double Price { get; set; }
public int VINnumber { get; set; }
public long VINnumber { get; set; }
public int FeatureID { get; set; }
public Dictionary<int, IBundlingModel> CarBundlings { get; set; } = new();
}
}

View File

@ -15,6 +15,5 @@ namespace CarCenterContracts.BindingModels
public string CabinColor { get; set; } = string.Empty;
public DriveTypes DriveType { get; set; }
public double Price { get; set; }
public int CarID { get; set; }
}
}

View File

@ -8,7 +8,6 @@
<ItemGroup>
<Folder Include="ViewModels\" />
<Folder Include="SearchModels\" />
<Folder Include="BusinessLogicsContracts\" />
<Folder Include="StoragesContracts\" />
</ItemGroup>

View File

@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CarCenterContracts.SearchModels
{
public class BundlingSearchModel
{
public int? Id { get; set; }
}
}

View File

@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CarCenterContracts.SearchModels
{
public class CarSearchModel
{
public int? Id { get; set; }
public long? VINnumber { get; set; }
}
}

View File

@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CarCenterContracts.SearchModels
{
public class FeatureSearchModel
{
public int? Id { get; set; }
}
}

View File

@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CarCenterContracts.SearchModels
{
public class StorekeeperSearchModel
{
public int? Id { get; set; }
}
}

View File

@ -14,7 +14,8 @@ namespace CarCenterDataModels.Models
CarClass CarClass { get; }
int Year { get; }
double Price { get; }
int VINnumber { get; }
long VINnumber { get; }
int FeatureID { get; }
Dictionary<int, IBundlingModel> CarBundlings { get; }
}
}

View File

@ -13,6 +13,5 @@ namespace CarCenterDataModels.Models
string CabinColor { get; }
DriveTypes DriveType { get; }
double Price { get; }
int CarID { get; }
}
}