diff --git a/Course/Contracts/BindingModels/MachineBindingModel.cs b/Course/Contracts/BindingModels/MachineBindingModel.cs new file mode 100644 index 0000000..b00b669 --- /dev/null +++ b/Course/Contracts/BindingModels/MachineBindingModel.cs @@ -0,0 +1,16 @@ +using DataModels.Models; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Contracts.BindingModels +{ + public class MachineBindingModel : IMachineModel + { + public int Id { get; set; } + public string Title { get; set; } + public string Country { get; set; } + } +} diff --git a/Course/Contracts/BindingModels/WorkerBindingModel.cs b/Course/Contracts/BindingModels/WorkerBindingModel.cs new file mode 100644 index 0000000..717cddc --- /dev/null +++ b/Course/Contracts/BindingModels/WorkerBindingModel.cs @@ -0,0 +1,18 @@ +using DataModels.Models; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Contracts.BindingModels +{ + public class WorkerBindingModel : IWorkerModel + { + public int Id { get; set; } + public string Name { get; set; } + public DateTime Birthday { get; set; } + public string Specialization { get; set; } + public double Salary { get; set; } + } +} diff --git a/Course/Contracts/BindingModels/WorkshopBindingModel.cs b/Course/Contracts/BindingModels/WorkshopBindingModel.cs new file mode 100644 index 0000000..4e567f2 --- /dev/null +++ b/Course/Contracts/BindingModels/WorkshopBindingModel.cs @@ -0,0 +1,17 @@ +using DataModels.Models; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Contracts.BindingModels +{ + public class WorkshopBindingModel : IWorkshopModel + { + public int Id { get; set; } + public string Title { get; set; } + public string Address { get; set; } + public string Director { get; set; } + } +} diff --git a/Course/Contracts/Contracts.csproj b/Course/Contracts/Contracts.csproj index 38b0ca1..8d61df8 100644 --- a/Course/Contracts/Contracts.csproj +++ b/Course/Contracts/Contracts.csproj @@ -7,11 +7,14 @@ - + + + +