Beispiel #1
0
 public ExistingPurchaseItemDto(ExistingArticleDto article,
                                ExistingUnitDto unit,
                                uint quantity,
                                int purchaseItemId)
 {
     Article        = article;
     Unit           = unit;
     Quantity       = quantity;
     PurchaseItemId = purchaseItemId;
 }
Beispiel #2
0
 public ExistingIngredientDto(ExistingArticleDto article,
                              double quantity,
                              ExistingUnitDto unit,
                              int ingredientId)
 {
     Article      = article;
     Quantity     = quantity;
     Unit         = unit;
     IngredientId = ingredientId;
 }
Beispiel #3
0
 public NewPurchaseItemDto(ExistingArticleDto article, ExistingUnitDto unit, double quantity)
 {
     Article  = article;
     Unit     = unit;
     Quantity = quantity;
 }
Beispiel #4
0
 public NewIngredientDto(ExistingArticleDto article, double quantity, ExistingUnitDto unit)
 {
     Article  = article;
     Quantity = quantity;
     Unit     = unit;
 }