*/
package org.mxchange.jshopcore.model.customer;
+import java.sql.Timestamp;
import org.mxchange.jcore.model.contact.Contact;
/**
*/
public long getContactId();
+ /**
+ * Getter for confirmation key
+ *
+ * @return Confirmation key
+ */
+ public String getCustomerConfirmKey ();
+
+ /**
+ * Setter for confirmation key
+ *
+ * @param customerConfirmKey Confirmation key
+ */
+ public void setCustomerConfirmKey (final String customerConfirmKey);
+
+ /**
+ * Getter for "created" timestamp
+ *
+ * @return "created" timestamp
+ */
+ public Timestamp getCustomerCreated ();
+
+ /**
+ * Setter for "created" timestamp
+ *
+ * @param customerCreated "created" timestamp
+ */
+ public void setCustomerCreated (final Timestamp customerCreated);
+
+ /**
+ * Getter for "locked" timestamp
+ *
+ * @return "locked" timestamp
+ */
+ public Timestamp getCustomerLocked ();
+
+ /**
+ * Getter for "locked" timestamp
+ *
+ * @param customerLocked "locked" timestamp
+ */
+ public void setCustomerLocked (final Timestamp customerLocked);
+
/**
* Setter for customer number
*
* @return Customer number
*/
public String getCustomerNumber ();
+
+ /**
+ * Getter for password hash
+ *
+ * @return Password hash
+ */
+ public String getCustomerPasswordHash ();
+
+ /**
+ * Setter for password hash
+ *
+ * @param customerPasswordHash Password hash
+ */
+ public void setCustomerPasswordHash (final String customerPasswordHash);
+
+ /**
+ * Getter for account status
+ *
+ * @return Account status
+ */
+ public String getCustomerStatus ();
+
+ /**
+ * Setter for account status
+ *
+ * @param customerStatus Account status
+ */
+ public void setCustomerStatus (final String customerStatus);
}
*/
package org.mxchange.jshopcore.model.customer;
+import java.sql.Timestamp;
import org.mxchange.jcore.model.contact.BaseContact;
/**
*/
private long contactId;
+ /**
+ * Confirmation key
+ */
+ private String customerConfirmKey;
+
+ /**
+ * "created" timestamp
+ */
+ private Timestamp customerCreated;
+
+ /**
+ * "locked" timestamp
+ */
+ private Timestamp customerLocked;
+
/**
* Customer number, this is different to the database entry id.
*/
*/
private static final long serialVersionUID = 4_328_454_581_751L;
+ /**
+ * Password hash
+ */
+ private String customerPasswordHash;
+
+ /**
+ * Account status
+ */
+ private String customerStatus;
+
@Override
public long getContactId () {
return this.contactId;
this.contactId = contactId;
}
+ @Override
+ public String getCustomerConfirmKey () {
+ return this.customerConfirmKey;
+ }
+
+ @Override
+ public void setCustomerConfirmKey (final String customerConfirmKey) {
+ this.customerConfirmKey = customerConfirmKey;
+ }
+
+ @Override
+ public Timestamp getCustomerCreated () {
+ return this.customerCreated;
+ }
+
+ @Override
+ public void setCustomerCreated (final Timestamp customerCreated) {
+ this.customerCreated = customerCreated;
+ }
+
+ @Override
+ public Timestamp getCustomerLocked () {
+ return this.customerLocked;
+ }
+
+ @Override
+ public void setCustomerLocked (final Timestamp customerLocked) {
+ this.customerLocked = customerLocked;
+ }
+
@Override
public String getCustomerNumber () {
return this.customerNumber;
public void setCustomerNumber (final String customerNumber) {
this.customerNumber = customerNumber;
}
+
+ @Override
+ public String getCustomerPasswordHash () {
+ return this.customerPasswordHash;
+ }
+
+ @Override
+ public void setCustomerPasswordHash (final String customerPasswordHash) {
+ this.customerPasswordHash = customerPasswordHash;
+ }
+
+ @Override
+ public String getCustomerStatus () {
+ return this.customerStatus;
+ }
+
+ @Override
+ public void setCustomerStatus (final String customerStatus) {
+ this.customerStatus = customerStatus;
+ }
}