Coursach/Course/Contracts/BindingModels/WorkerBindingModel.cs
2024-04-27 12:35:20 +04:00

17 lines
579 B
C#

using DataModels.Models;
namespace Contracts.BindingModels
{
public class WorkerBindingModel : IWorkerModel
{
public int Id { get; set; }
public int UserId { get; set; }
public string Name { get; set; } = string.Empty;
public DateTime Birthday { get; set; }
public string Specialization { get; set; } = string.Empty;
public double Salary { get; set; }
public Dictionary<int, IWorkshopModel> WorkerWorkshop { get; set; } = new();
public Dictionary<int, IMachineModel> WorkerMachine { get; set; } = new();
}
}