From bead0ab7b1cf8fe38cb9f4eb0bb3f25bcc4a92a0 Mon Sep 17 00:00:00 2001 From: urlilpolly Date: Wed, 3 Apr 2024 13:36:27 +0400 Subject: [PATCH] =?UTF-8?q?=D0=B4=D0=BE=D0=BF=D0=B8=D0=BB=D0=B8=D0=BB=20?= =?UTF-8?q?=D1=81=D0=B2=D0=BE=D0=B8=20=D0=BC=D0=BE=D0=B4=D0=B5=D0=BB=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Course/DataModels/Models/IMachineModel.cs | 14 ++++++++++++++ Course/DataModels/Models/IWorkerModel.cs | 4 ++-- Course/DataModels/Models/IWorkshopModel.cs | 15 +++++++++++++++ 3 files changed, 31 insertions(+), 2 deletions(-) create mode 100644 Course/DataModels/Models/IMachineModel.cs create mode 100644 Course/DataModels/Models/IWorkshopModel.cs diff --git a/Course/DataModels/Models/IMachineModel.cs b/Course/DataModels/Models/IMachineModel.cs new file mode 100644 index 0000000..36a8712 --- /dev/null +++ b/Course/DataModels/Models/IMachineModel.cs @@ -0,0 +1,14 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace DataModels.Models +{ + public interface IMachineModel : IId + { + string Title { get; } + string Country { get; } + } +} diff --git a/Course/DataModels/Models/IWorkerModel.cs b/Course/DataModels/Models/IWorkerModel.cs index f525a39..d0a1fd0 100644 --- a/Course/DataModels/Models/IWorkerModel.cs +++ b/Course/DataModels/Models/IWorkerModel.cs @@ -10,7 +10,7 @@ namespace DataModels.Models { string Name { get; } DateTime Birthday { get; } - String Specialization { get; } - Double Salary { get; } + string Specialization { get; } + double Salary { get; } } } diff --git a/Course/DataModels/Models/IWorkshopModel.cs b/Course/DataModels/Models/IWorkshopModel.cs new file mode 100644 index 0000000..d3ddc13 --- /dev/null +++ b/Course/DataModels/Models/IWorkshopModel.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace DataModels.Models +{ + public interface IWorkshopModel : IId + { + string Title { get; } + string Address { get; } + string Director { get; } + } +}