From: Roland Häder Date: Thu, 28 Apr 2016 09:34:38 +0000 (+0200) Subject: Continued a bit: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8952e4414ac6923a4289ed38c6cf21ec72d66584;p=jcustomer-core.git Continued a bit: - added new field "customerUpdated", this should allow NULL ... - renamed field as this is only the last locked timestamp - added field lastLockedReason --- diff --git a/src/org/mxchange/jcustomercore/model/customer/Customer.java b/src/org/mxchange/jcustomercore/model/customer/Customer.java index acbad7e..cbf4d01 100644 --- a/src/org/mxchange/jcustomercore/model/customer/Customer.java +++ b/src/org/mxchange/jcustomercore/model/customer/Customer.java @@ -77,6 +77,20 @@ public interface Customer extends Serializable { */ void setCustomerCreated (final Calendar customerCreated); + /** + * Getter for "updated" timestamp + *

+ * @return "updated" timestamp + */ + Calendar getCustomerUpdated (); + + /** + * Setter for "updated" timestamp + *

+ * @param customerUpdated "updated" timestamp + */ + void setCustomerUpdated (final Calendar customerUpdated); + /** * Getter for customer id number *

@@ -96,14 +110,28 @@ public interface Customer extends Serializable { *

* @return "locked" timestamp */ - Calendar getCustomerLocked (); + Calendar getCustomerLastLocked (); /** * Getter for "locked" timestamp *

* @param customerLocked "locked" timestamp */ - void setCustomerLocked (final Calendar customerLocked); + void setCustomerLastLocked (final Calendar customerLocked); + + /** + * Getter for reason of last locked + *

+ * @return Reason of last locked + */ + String getCustomerLastLockedReason (); + + /** + * Setter for reason of last locked + *

+ * @param lastLockedReason Reason of last locked + */ + void setCustomerLastLockedReason (final String lastLockedReason); /** * Getter for customer number