public ProductionOrderBatchStage(DefaultProductionOrderBatchStage defaultProductionOrderBatchStage, short?plannedDuration = null) { this.name = defaultProductionOrderBatchStage.Name; this.type = defaultProductionOrderBatchStage.Type; this.plannedDuration = plannedDuration; IsDefault = true; }
public ProductionOrderBatchLifeCycleTemplateStage(DefaultProductionOrderBatchStage defaultProductionOrderBatchStage) { IsDefault = true; ValidationUtils.Assert(!String.IsNullOrEmpty(defaultProductionOrderBatchStage.Name), "Название этапа не указано."); this.name = defaultProductionOrderBatchStage.Name; this.type = defaultProductionOrderBatchStage.Type; }