public VendingMachineProductDTO(VendingMachineDTO VendingMachineParam, CompartmentDTO CompartmentParam, ProductDTO ProductParam, double CostParam, int StockOnHandParam) { this.VendingMachine = VendingMachineParam; this.Compartment = CompartmentParam; this.Product = ProductParam; this.Cost = CostParam; this.StockOnHand = StockOnHandParam; }
public VendingMachinePurchaseDTO(int IDParam, VendingMachineDTO VendingMachineParam, ProductDTO ProductParam, double CostParam, int QuantityParam, DateTime DateTimePurchasedParam) { this.ID = IDParam; this.VendingMachine = VendingMachineParam; this.Product = ProductParam; this.Cost = CostParam; this.Quantity = QuantityParam; this.DateTimePurchased = DateTimePurchasedParam; }