2023-04-08 18:12:08 +04:00
|
|
|
|
using FactoryDataModels.Models;
|
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
|
|
|
|
|
namespace FactoryContracts.ViewModels
|
|
|
|
|
{
|
|
|
|
|
public class PlanViewModel : IPlanModel
|
|
|
|
|
{
|
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
|
|
|
|
|
[DisplayName("Название производства")]
|
|
|
|
|
public string PlanName { get; set; } = string.Empty;
|
|
|
|
|
|
2023-05-19 21:35:04 +04:00
|
|
|
|
public Dictionary<int, ILatheModel> PlanLathes { get; set; } = new();
|
2023-04-08 18:12:08 +04:00
|
|
|
|
|
2023-05-19 21:35:04 +04:00
|
|
|
|
public Dictionary<int, IComponentModel> PlanComponents { get; set; } = new();
|
2023-04-08 18:12:08 +04:00
|
|
|
|
[DisplayName("Дата выполнения")]
|
|
|
|
|
public DateTime date { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|