/// <summary> /// Initializes a new instance of the <see cref="Order" /> class. /// </summary> /// <param name="store">store.</param> /// <param name="customer">customer.</param> /// <param name="pizza">pizza.</param> /// <param name="priceTotal">priceTotal.</param> /// <param name="timeStamp">timeStamp.</param> /// <param name="id">id.</param> public Order(AStore store = default(AStore), Customer customer = default(Customer), List <APizza> pizza = default(List <APizza>), double?priceTotal = default(double?), DateTime?timeStamp = default(DateTime?), int?id = default(int?)) { this.Store = store; this.Customer = customer; this.Pizza = pizza; this.PriceTotal = priceTotal; this.TimeStamp = timeStamp; this.Id = id; }
public Order() { Pizza = new List <APizza>(); Customer = new Customer(); Store = new AStore(); }