diff --git a/AircraftPlant/AircraftPlantContracts/AircraftPlantContracts.csproj b/AircraftPlant/AircraftPlantContracts/AircraftPlantContracts.csproj index 52cb1d4..ccfbc02 100644 --- a/AircraftPlant/AircraftPlantContracts/AircraftPlantContracts.csproj +++ b/AircraftPlant/AircraftPlantContracts/AircraftPlantContracts.csproj @@ -11,9 +11,7 @@ - - diff --git a/AircraftPlant/AircraftPlantContracts/ComponentBindingModel.cs b/AircraftPlant/AircraftPlantContracts/BindingModels/ComponentBindingModel.cs similarity index 86% rename from AircraftPlant/AircraftPlantContracts/ComponentBindingModel.cs rename to AircraftPlant/AircraftPlantContracts/BindingModels/ComponentBindingModel.cs index c8808ef..2ca2e48 100644 --- a/AircraftPlant/AircraftPlantContracts/ComponentBindingModel.cs +++ b/AircraftPlant/AircraftPlantContracts/BindingModels/ComponentBindingModel.cs @@ -7,7 +7,7 @@ using System.Threading.Tasks; namespace AircraftPlantContracts.BindingModels { - internal class ComponentBindingModel : IComponentModel + public class ComponentBindingModel : IComponentModel { public string ComponentName { get; set; } = string.Empty; diff --git a/AircraftPlant/AircraftPlantContracts/OrderBindingModel.cs b/AircraftPlant/AircraftPlantContracts/BindingModels/OrderBindingModel.cs similarity index 92% rename from AircraftPlant/AircraftPlantContracts/OrderBindingModel.cs rename to AircraftPlant/AircraftPlantContracts/BindingModels/OrderBindingModel.cs index ec47781..6025955 100644 --- a/AircraftPlant/AircraftPlantContracts/OrderBindingModel.cs +++ b/AircraftPlant/AircraftPlantContracts/BindingModels/OrderBindingModel.cs @@ -8,7 +8,7 @@ using System.Threading.Tasks; namespace AircraftPlantContracts.BindingModels { - internal class OrderBindingModel : IOrderModel + public class OrderBindingModel : IOrderModel { public int PlaneId { get; set; } diff --git a/AircraftPlant/AircraftPlantContracts/PlaneBindingModel.cs b/AircraftPlant/AircraftPlantContracts/BindingModels/PlaneBindingModel.cs similarity index 89% rename from AircraftPlant/AircraftPlantContracts/PlaneBindingModel.cs rename to AircraftPlant/AircraftPlantContracts/BindingModels/PlaneBindingModel.cs index cc12725..6194154 100644 --- a/AircraftPlant/AircraftPlantContracts/PlaneBindingModel.cs +++ b/AircraftPlant/AircraftPlantContracts/BindingModels/PlaneBindingModel.cs @@ -7,7 +7,7 @@ using System.Threading.Tasks; namespace AircraftPlantContracts.BindingModels { - internal class PlaneBindingModel : IPlaneModel + public class PlaneBindingModel : IPlaneModel { public string PlaneName { get; set; } = string.Empty; diff --git a/AircraftPlant/AircraftPlantContracts/SearchModels/ComponentSearchModel.cs b/AircraftPlant/AircraftPlantContracts/SearchModels/ComponentSearchModel.cs new file mode 100644 index 0000000..82021af --- /dev/null +++ b/AircraftPlant/AircraftPlantContracts/SearchModels/ComponentSearchModel.cs @@ -0,0 +1,14 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace AircraftPlantContracts.SearchModels +{ + public class ComponentSearchModel + { + public int? Id { get; set; } + public string? ComponentName { get; set; } + } +} diff --git a/AircraftPlant/AircraftPlantContracts/SearchModels/OrderSearchModel.cs b/AircraftPlant/AircraftPlantContracts/SearchModels/OrderSearchModel.cs new file mode 100644 index 0000000..1e8e05d --- /dev/null +++ b/AircraftPlant/AircraftPlantContracts/SearchModels/OrderSearchModel.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace AircraftPlantContracts.SearchModels +{ + public class OrderSearchModel + { + public int? Id { get; set; } + } +} diff --git a/AircraftPlant/AircraftPlantContracts/SearchModels/PlaneSearchModel.cs b/AircraftPlant/AircraftPlantContracts/SearchModels/PlaneSearchModel.cs new file mode 100644 index 0000000..02303db --- /dev/null +++ b/AircraftPlant/AircraftPlantContracts/SearchModels/PlaneSearchModel.cs @@ -0,0 +1,14 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace AircraftPlantContracts.SearchModels +{ + public class PlaneSearchModel + { + public int? Id { get; set; } + public string? PlaneName { get; set; } + } +}