From: Roland Haeder Date: Fri, 25 Sep 2015 12:27:01 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=17b423172a2c89ea8112d0e60c0e8228a5f9e5cc;p=jcustomer-core.git Continued: - added enumeration annotation - updated jar Signed-off-by:Roland Häder --- diff --git a/lib/jcore.jar b/lib/jcore.jar index 2fbc389..a59d0c6 100644 Binary files a/lib/jcore.jar and b/lib/jcore.jar differ diff --git a/src/org/mxchange/jshopcore/model/customer/ShopCustomer.java b/src/org/mxchange/jshopcore/model/customer/ShopCustomer.java index 3ea4c9c..e4dce08 100644 --- a/src/org/mxchange/jshopcore/model/customer/ShopCustomer.java +++ b/src/org/mxchange/jshopcore/model/customer/ShopCustomer.java @@ -20,6 +20,8 @@ import java.util.Calendar; import javax.persistence.Basic; import javax.persistence.Column; import javax.persistence.Entity; +import javax.persistence.EnumType; +import javax.persistence.Enumerated; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; @@ -99,6 +101,7 @@ public class ShopCustomer implements Customer { */ @Basic (optional = false) @Column (name = "customer_account_status", nullable = false) + @Enumerated(EnumType.STRING) private CustomerAccountStatus customerAccountStatus; /**