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