add remain columns for models
This commit is contained in:
parent
5d47723a43
commit
87ef50effd
@ -13,5 +13,7 @@ namespace FactoryContracts.BindingModels
|
||||
public int Lifetime { get; set; }
|
||||
|
||||
public int ClientId { get; set; }
|
||||
|
||||
public Dictionary<int, (IPlanProductionModel, int)> PlanProductionMachines { get; set; } = new();
|
||||
}
|
||||
}
|
||||
|
@ -13,5 +13,7 @@ namespace FactoryContracts.BindingModels
|
||||
public int ClientId { get; set; }
|
||||
|
||||
public int RequirementId { get; set; }
|
||||
|
||||
public Dictionary<int, (IMachineModel, int)> ProductMachines { get; set; } = new();
|
||||
}
|
||||
}
|
||||
|
@ -20,5 +20,8 @@ namespace FactoryContracts.ViewModels
|
||||
|
||||
[DisplayName("Логин клиента")]
|
||||
public string ClientLogin { get; set; } = string.Empty;
|
||||
|
||||
[DisplayName("Планы производства")]
|
||||
public Dictionary<int, (IPlanProductionModel, int)> PlanProductionMachines { get; set; } = new();
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,4 @@
|
||||
using FactoryDataModels.Enums;
|
||||
using FactoryDataModels.Models;
|
||||
using FactoryDataModels.Models;
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace FactoryContracts.ViewModels
|
||||
|
@ -22,5 +22,8 @@ namespace FactoryContracts.ViewModels
|
||||
|
||||
[DisplayName("Цена продукта")]
|
||||
public double Price { get; set; }
|
||||
|
||||
[DisplayName("Станки")]
|
||||
public Dictionary<int, (IMachineModel, int)> ProductMachines { get; set; } = new();
|
||||
}
|
||||
}
|
||||
|
@ -9,5 +9,7 @@
|
||||
int Lifetime { get; }
|
||||
|
||||
int ClientId { get; }
|
||||
|
||||
Dictionary<int, (IPlanProductionModel, int)> PlanProductionMachines { get; }
|
||||
}
|
||||
}
|
||||
|
@ -3,14 +3,15 @@
|
||||
public interface IPlanProductionModel : IId
|
||||
{
|
||||
int ExecutionPhaseId { get; }
|
||||
|
||||
int ClientId { get; }
|
||||
|
||||
string ProductionName { get; }
|
||||
|
||||
int Count { get; }
|
||||
|
||||
DateTime Term { get; }
|
||||
|
||||
Dictionary<int, (IWorkpieceModel, int)> PlanProductionWorkpieces { get; }
|
||||
|
||||
|
||||
}
|
||||
}
|
@ -9,5 +9,7 @@
|
||||
int ClientId { get; }
|
||||
|
||||
int RequirementId { get; }
|
||||
|
||||
Dictionary<int, (IMachineModel, int)> ProductMachines { get; }
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user