Coursach/Course/Contracts/BindingModels/WorkerBindingModel.cs

17 lines
579 B
C#
Raw Normal View History

2024-04-03 13:49:07 +04:00
using DataModels.Models;
namespace Contracts.BindingModels
{
public class WorkerBindingModel : IWorkerModel
{
public int Id { get; set; }
2024-04-27 12:35:20 +04:00
public int UserId { get; set; }
public string Name { get; set; } = string.Empty;
2024-04-03 13:49:07 +04:00
public DateTime Birthday { get; set; }
2024-04-27 12:35:20 +04:00
public string Specialization { get; set; } = string.Empty;
2024-04-03 13:49:07 +04:00
public double Salary { get; set; }
2024-04-27 12:35:20 +04:00
public Dictionary<int, IWorkshopModel> WorkerWorkshop { get; set; } = new();
public Dictionary<int, IMachineModel> WorkerMachine { get; set; } = new();
}
2024-04-03 13:49:07 +04:00
}