public ExistingPurchaseItemDto(ExistingArticleDto article, ExistingUnitDto unit, uint quantity, int purchaseItemId) { Article = article; Unit = unit; Quantity = quantity; PurchaseItemId = purchaseItemId; }
public ExistingIngredientDto(ExistingArticleDto article, double quantity, ExistingUnitDto unit, int ingredientId) { Article = article; Quantity = quantity; Unit = unit; IngredientId = ingredientId; }
public NewPurchaseItemDto(ExistingArticleDto article, ExistingUnitDto unit, double quantity) { Article = article; Unit = unit; Quantity = quantity; }
public NewIngredientDto(ExistingArticleDto article, double quantity, ExistingUnitDto unit) { Article = article; Quantity = quantity; Unit = unit; }