20 lines
606 B
C#
20 lines
606 B
C#
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; }
|
|
}
|
|
}
|