]> git.mxchange.org Git - jproduct-core.git/commitdiff
Continued:
authorRoland Haeder <roland@mxchange.org>
Fri, 25 Sep 2015 12:27:01 +0000 (14:27 +0200)
committerRoland Haeder <roland@mxchange.org>
Fri, 25 Sep 2015 12:27:18 +0000 (14:27 +0200)
- added enumeration annotation
- updated jar
Signed-off-by:Roland Häder <roland@mxchange.org>

lib/jcore.jar
src/org/mxchange/jshopcore/model/customer/ShopCustomer.java

index 2fbc389b088701ec28613e7e931fe31f222d2639..a59d0c6d95b82ca1a27d0f31a2525956e8ba2819 100644 (file)
Binary files a/lib/jcore.jar and b/lib/jcore.jar differ
index 3ea4c9c9c000a052458c53907f257b3b7c3d6c13..e4dce08bb4c09c5f7355a42d5770c21b66b147d1 100644 (file)
@@ -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;
 
        /**