title: create UML classes diagram
body: <p>I have a project to make; I have a  market and many products, each one has name, date of production, 
  etc...
  I have made the classes for the project, but I need to make a diagram of the classes, but I don't know how. Also I want to insert customer data in a file like what they buy and the price and each customer can have many purchase cards to buy.
  Can any one help me?</p>
  
  <pre><code> class product  implements Cloneable{
       String productName;
       String Description;
       int quantity; 
       product category;
  
       product(){}
       product(product p){}
  
       /** Returns a deep clone of this */
       public Object clone() {
           product p = new product();
           return p;
       }
  
   }
  
   class Beverage extends product{
       int capacity;
  
       public void setCapacity(int capacity) {
          this.capacity = capacity;
       }
   }
  
  class  Condiment extends product {
      String country;
  
      public void setCountry(String country) {
          this.country = country;
      }
  }
  
  class Dairyproduct extends product  {
      Date  productionDate;
      Date ExpirationDate;
      String  saleUnit;
  
      public void setProductionDate(Date productionDate) {
          this.productionDate = productionDate;
      }
  
      public void setExpirationDate(Date ExpirationDate) {
          this.ExpirationDate = ExpirationDate;
      }
  
      public void setSaleUnit(String saleUnit) {
          this.saleUnit = saleUnit;
      } 
  } 
  
  class Customer{
      String Fname;
      String Lname;
      int Id;
      String Address;
  
      public void setFname(String Fname) {
          this.Fname = Fname;
      }
  
      public void setLname(String Lname) {
          this.Lname = Lname;
      }
  
      public void setId(int Id) {
          this.Id = Id;
      }
  
      public void setAddress(String Address) {
          this.Address = Address;
      }
  
   }
  
   class PurchaseCard{
       Date PurchaseDate;
       LocalDateTime PurchaseTime;
       Map&lt;product,Boolean&gt; PurchasedProducts ;
       double TotalPrice;
   } 
  </code></pre>