public virtual MovementLineStateMergePatchedDto ToMovementLineStateMergePatchedDto(IMovementLineStateMergePatched e) { var dto = new MovementLineStateMergePatchedDto(); dto.MovementLineEventId = e.MovementLineEventId; dto.CreatedAt = e.CreatedAt; dto.CreatedBy = e.CreatedBy; dto.Version = e.Version; dto.CommandId = e.CommandId; dto.MovementQuantity = e.MovementQuantity; dto.ProductId = e.ProductId; dto.LocatorIdFrom = e.LocatorIdFrom; dto.LocatorIdTo = e.LocatorIdTo; dto.AttributeSetInstanceId = e.AttributeSetInstanceId; dto.Processed = e.Processed; dto.ReversalLineNumber = e.ReversalLineNumber; dto.Active = e.Active; dto.IsPropertyMovementQuantityRemoved = e.IsPropertyMovementQuantityRemoved; dto.IsPropertyProductIdRemoved = e.IsPropertyProductIdRemoved; dto.IsPropertyLocatorIdFromRemoved = e.IsPropertyLocatorIdFromRemoved; dto.IsPropertyLocatorIdToRemoved = e.IsPropertyLocatorIdToRemoved; dto.IsPropertyAttributeSetInstanceIdRemoved = e.IsPropertyAttributeSetInstanceIdRemoved; dto.IsPropertyProcessedRemoved = e.IsPropertyProcessedRemoved; dto.IsPropertyReversalLineNumberRemoved = e.IsPropertyReversalLineNumberRemoved; dto.IsPropertyActiveRemoved = e.IsPropertyActiveRemoved; return(dto); }
public virtual MovementLineStateMergePatchedDto NewMovementLineStateMergePatched(string lineNumber) { var e = new MovementLineStateMergePatchedDto(); var eId = NewMovementLineEventId(lineNumber); e.MovementLineEventId = eId; return(e); }