public Shelf(Storagetype storagetype, int aisle) { this.Size = 20; this.Products = new List <Product>(); this.Storagetype = storagetype; this.Aisle = aisle; }
public Product(string id, double cost, string name, string usebefore, string type, Storagetype storagetype) { this.ID = id; this.Cost = cost; this.Name = name; this.Usebefore = usebefore; this.Type = type; this.Storagetype = storagetype; }
public Alcohol(string id, double cost, string name, string usebefore, string type, Storagetype storagetype) : base(id, cost, name, usebefore, type, storagetype) { }