import java.io.*;

public class Product implements Serializable
{
   public Product(String description, double price)
   {
      this.description = description;
      this.price = price;
   }

   public String getDescription()
   {
      return description;
   }

   public double getPrice()
   {
      return price;
   }

   public Warehouse getLocation()
   {
      return location;
   }

   public void setLocation(Warehouse location)
   {
      this.location = location;
   }

   private String description;
   private double price;
   private Warehouse location;
}

