Compare commits
2 Commits
ac8320cfe6
...
555b2510b2
Author | SHA1 | Date | |
---|---|---|---|
555b2510b2 | |||
bcc3913d96 |
16
Course/Contracts/BindingModels/MachineBindingModel.cs
Normal file
16
Course/Contracts/BindingModels/MachineBindingModel.cs
Normal file
@ -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; }
|
||||||
|
}
|
||||||
|
}
|
18
Course/Contracts/BindingModels/WorkerBindingModel.cs
Normal file
18
Course/Contracts/BindingModels/WorkerBindingModel.cs
Normal file
@ -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; }
|
||||||
|
}
|
||||||
|
}
|
17
Course/Contracts/BindingModels/WorkshopBindingModel.cs
Normal file
17
Course/Contracts/BindingModels/WorkshopBindingModel.cs
Normal file
@ -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; }
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user