From: Roland Häder Date: Sun, 29 Oct 2017 14:54:42 +0000 (+0100) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c9125ca8c42523e8ab089b8146564131156e8a61;p=jproduct-core.git Continued: - ops, forgot to add Column/Basic annotations, the currency code is a 3-letter code, like EUR or USD, and not just $ or other symbols. Signed-off-by: Roland Häder --- diff --git a/src/org/mxchange/jproduct/model/product/GenericProduct.java b/src/org/mxchange/jproduct/model/product/GenericProduct.java index d3e2f9d..424d8b9 100644 --- a/src/org/mxchange/jproduct/model/product/GenericProduct.java +++ b/src/org/mxchange/jproduct/model/product/GenericProduct.java @@ -84,8 +84,10 @@ public class GenericProduct implements Product { private Date productCreated; /** - * Currency code for both prices + * Currency code for both prices, like EUR or USD */ + @Basic(optional = false) + @Column(name = "product_currency_code", nullable = false, length = 3) private String productCurrencyCode; /**