From 57cb2a358cf778f6e22621f60dacba71c5a5d9bc Mon Sep 17 00:00:00 2001 From: Ivan_Starostin Date: Sun, 2 Jun 2024 18:03:00 +0400 Subject: [PATCH] Upload files to 'ShipyardContracts/BindingModels' --- .../BindingModels/ImpelmenterBindingModel.cs | 18 ++++++++++++++++++ .../BindingModels/OrderBindingModel.cs | 3 ++- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 ShipyardContracts/BindingModels/ImpelmenterBindingModel.cs diff --git a/ShipyardContracts/BindingModels/ImpelmenterBindingModel.cs b/ShipyardContracts/BindingModels/ImpelmenterBindingModel.cs new file mode 100644 index 0000000..0e0415f --- /dev/null +++ b/ShipyardContracts/BindingModels/ImpelmenterBindingModel.cs @@ -0,0 +1,18 @@ +using ShipyardDataModels.Models; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace ShipyardContracts.BindingModels +{ + public class ImplementerBindingModel : IImplementerModel + { + public int Id { get; set; } + public string ImplementerFIO { get; set; } = string.Empty; + public int WorkExperience { get; set; } = 0; + public int Qualification { get; set; } = 0; + public string Password { get; set; } = string.Empty; + } +} diff --git a/ShipyardContracts/BindingModels/OrderBindingModel.cs b/ShipyardContracts/BindingModels/OrderBindingModel.cs index c672e70..7e85751 100644 --- a/ShipyardContracts/BindingModels/OrderBindingModel.cs +++ b/ShipyardContracts/BindingModels/OrderBindingModel.cs @@ -7,7 +7,8 @@ namespace ShipyardContracts.BindingModels public int Id { get; set; } public int ShipId { get; set; } public int ClientId { get; set; } - public int Count { get; set; } + public int? ImplementerId { get; set; } = null; + public int Count { get; set; } public double Sum { get; set; } public OrderStatus Status { get; set; } = OrderStatus.Неизвестен; public DateTime DateCreate { get; set; } = DateTime.Now;