diff --git a/CarCenter/CarCenterContracts/BindingModels/CarBindingModel.cs b/CarCenter/CarCenterContracts/BindingModels/CarBindingModel.cs index 6a516c0..af96b89 100644 --- a/CarCenter/CarCenterContracts/BindingModels/CarBindingModel.cs +++ b/CarCenter/CarCenterContracts/BindingModels/CarBindingModel.cs @@ -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 CarBundlings { get; set; } = new(); } } diff --git a/CarCenter/CarCenterContracts/BindingModels/FeatureBindingModel.cs b/CarCenter/CarCenterContracts/BindingModels/FeatureBindingModel.cs index 6a4bc7d..f1b2a48 100644 --- a/CarCenter/CarCenterContracts/BindingModels/FeatureBindingModel.cs +++ b/CarCenter/CarCenterContracts/BindingModels/FeatureBindingModel.cs @@ -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; } } } diff --git a/CarCenter/CarCenterContracts/CarCenterContracts.csproj b/CarCenter/CarCenterContracts/CarCenterContracts.csproj index 9f6ecee..ac912f3 100644 --- a/CarCenter/CarCenterContracts/CarCenterContracts.csproj +++ b/CarCenter/CarCenterContracts/CarCenterContracts.csproj @@ -8,7 +8,6 @@ - diff --git a/CarCenter/CarCenterContracts/SearchModels/BundlingSearchModel.cs b/CarCenter/CarCenterContracts/SearchModels/BundlingSearchModel.cs new file mode 100644 index 0000000..42e31ba --- /dev/null +++ b/CarCenter/CarCenterContracts/SearchModels/BundlingSearchModel.cs @@ -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; } + } +} diff --git a/CarCenter/CarCenterContracts/SearchModels/CarSearchModel.cs b/CarCenter/CarCenterContracts/SearchModels/CarSearchModel.cs new file mode 100644 index 0000000..f304e36 --- /dev/null +++ b/CarCenter/CarCenterContracts/SearchModels/CarSearchModel.cs @@ -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; } + } +} diff --git a/CarCenter/CarCenterContracts/SearchModels/FeatureSearchModel.cs b/CarCenter/CarCenterContracts/SearchModels/FeatureSearchModel.cs new file mode 100644 index 0000000..b11b48f --- /dev/null +++ b/CarCenter/CarCenterContracts/SearchModels/FeatureSearchModel.cs @@ -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; } + } +} diff --git a/CarCenter/CarCenterContracts/SearchModels/StorekeeperSearchModel.cs b/CarCenter/CarCenterContracts/SearchModels/StorekeeperSearchModel.cs new file mode 100644 index 0000000..6483bc9 --- /dev/null +++ b/CarCenter/CarCenterContracts/SearchModels/StorekeeperSearchModel.cs @@ -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; } + + } +} diff --git a/CarCenter/CarCenterDataModels/Models/ICarModel.cs b/CarCenter/CarCenterDataModels/Models/ICarModel.cs index fd7cc10..9f40a00 100644 --- a/CarCenter/CarCenterDataModels/Models/ICarModel.cs +++ b/CarCenter/CarCenterDataModels/Models/ICarModel.cs @@ -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 CarBundlings { get; } } } diff --git a/CarCenter/CarCenterDataModels/Models/IFeatureModel.cs b/CarCenter/CarCenterDataModels/Models/IFeatureModel.cs index 408e46a..f472138 100644 --- a/CarCenter/CarCenterDataModels/Models/IFeatureModel.cs +++ b/CarCenter/CarCenterDataModels/Models/IFeatureModel.cs @@ -13,6 +13,5 @@ namespace CarCenterDataModels.Models string CabinColor { get; } DriveTypes DriveType { get; } double Price { get; } - int CarID { get; } } }