CourseWork_Factory/FactoryView/FactoryContracts/ViewModels/PlanViewModel.cs

20 lines
606 B
C#
Raw Normal View History

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;
public Dictionary<int, (ILatheModel, int)> PlanLathes { get; set; } = new();
public Dictionary<int, (IComponentModel, int)> PlanComponents { get; set; } = new();
[DisplayName("Дата выполнения")]
public DateTime date { get; set; }
}
}