Модели для поиска #3
@ -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();
|
||||
}
|
||||
}
|
||||
|
@ -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; }
|
||||
}
|
||||
}
|
||||
|
@ -8,7 +8,6 @@
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="ViewModels\" />
|
||||
<Folder Include="SearchModels\" />
|
||||
<Folder Include="BusinessLogicsContracts\" />
|
||||
<Folder Include="StoragesContracts\" />
|
||||
</ItemGroup>
|
||||
|
@ -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; }
|
||||
}
|
||||
}
|
14
CarCenter/CarCenterContracts/SearchModels/CarSearchModel.cs
Normal file
14
CarCenter/CarCenterContracts/SearchModels/CarSearchModel.cs
Normal 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; }
|
||||
}
|
||||
}
|
@ -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; }
|
||||
}
|
||||
}
|
@ -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; }
|
||||
|
||||
}
|
||||
}
|
@ -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; }
|
||||
}
|
||||
}
|
||||
|
@ -13,6 +13,5 @@ namespace CarCenterDataModels.Models
|
||||
string CabinColor { get; }
|
||||
DriveTypes DriveType { get; }
|
||||
double Price { get; }
|
||||
int CarID { get; }
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user