From c9125ca8c42523e8ab089b8146564131156e8a61 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sun, 29 Oct 2017 15:54:42 +0100 Subject: [PATCH] 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. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- src/org/mxchange/jproduct/model/product/GenericProduct.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; /** -- 2.39.5