package io.reactivesw.customer.server.common.types;

/**
 * Created by Davis on 16/11/16.
 */
public class Money {
  String currencyCode;
}

@@ -50,91 +50,1558 @@
 s;%0A%0A
-/**%0A * Created by Davis on 16/11/16.%0A */%0Apublic class Money %7B%0A  String currencyCode;
+import io.reactivesw.customer.server.catalog.entities.CategoryEntity;%0A%0Aimport java.util.Objects;%0A%0A/**%0A * Created by Davis on 16/11/16.%0A */%0Apublic class Money %7B%0A  /**%0A   * The Currency code.%0A   */%0A  private String currencyCode;%0A  /**%0A   * The Cent amount.%0A   */%0A  private Integer centAmount;%0A%0A  /**%0A   * Gets currency code.%0A   *%0A   * @return the currency code%0A   */%0A  public String getCurrencyCode() %7B%0A    return currencyCode;%0A  %7D%0A%0A  /**%0A   * Sets currency code.%0A   *%0A   * @param currencyCode the currency code%0A   */%0A  public void setCurrencyCode(String currencyCode) %7B%0A    this.currencyCode = currencyCode;%0A  %7D%0A%0A  /**%0A   * Gets cent amount.%0A   *%0A   * @return the cent amount%0A   */%0A  public Integer getCentAmount() %7B%0A    return centAmount;%0A  %7D%0A%0A  /**%0A   * Sets cent amount.%0A   *%0A   * @param centAmount the cent amount%0A   */%0A  public void setCentAmount(Integer centAmount) %7B%0A    this.centAmount = centAmount;%0A  %7D%0A%0A  @Override%0A  public boolean equals(Object obj) %7B%0A    boolean equalsResult = false;%0A    if (this == obj) %7B%0A      equalsResult = true;%0A    %7D else if (obj instanceof Money) %7B%0A      final Money other = (Money) obj;%0A      equalsResult = Objects.equals(currencyCode, other.currencyCode)%0A          && Objects.equals(centAmount, other.centAmount);%0A    %7D%0A    return equalsResult;%0A%0A  %7D%0A%0A  @Override%0A  public int hashCode() %7B%0A    return Objects.hash(currencyCode, centAmount);%0A  %7D%0A%0A  @Override%0A  public String toString() %7B%0A    return %22Money%7B%22 +%0A        %22currencyCode='%22 + currencyCode + '%5C'' +%0A        %22, centAmount=%22 + centAmount +%0A        '%7D';%0A  %7D
 %0A%7D%0A

add Money model