2024-04-27 12:35:20 +04:00
|
|
|
|
using DataModels.Models;
|
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
|
|
|
|
|
namespace Contracts.ViewModels
|
|
|
|
|
{
|
|
|
|
|
public class WorkshopViewModel : IWorkshopModel
|
|
|
|
|
{
|
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
[DisplayName("Название цеха")]
|
|
|
|
|
public string Title { get; set; } = string.Empty;
|
|
|
|
|
[DisplayName("Адрес цеха")]
|
|
|
|
|
public string Address { get; set; } = string.Empty;
|
|
|
|
|
[DisplayName("ФИО директора цеха")]
|
|
|
|
|
public string Director { get; set; } = string.Empty;
|
|
|
|
|
public int UserId { get; set; }
|
2024-04-27 22:13:33 +04:00
|
|
|
|
public int? ProductionId { get; set; }
|
2024-05-27 21:03:42 +04:00
|
|
|
|
public string? ProductionName { get; set; }
|
2024-05-28 21:16:51 +04:00
|
|
|
|
public Dictionary<int, IWorkerModel> WorkerWorkshops { get; set; } = new();
|
2024-04-27 12:35:20 +04:00
|
|
|
|
}
|
|
|
|
|
}
|