package org.mxchange.jshopcore.model.customer;
import java.io.Serializable;
-import java.sql.Timestamp;
import org.mxchange.jcore.model.contact.Contact;
/**
*
* @return "created" timestamp
*/
- public Timestamp getCustomerCreated ();
+ public String getCustomerCreated ();
/**
* Setter for "created" timestamp
*
* @param customerCreated "created" timestamp
*/
- public void setCustomerCreated (final Timestamp customerCreated);
+ public void setCustomerCreated (final String customerCreated);
/**
* Getter for "locked" timestamp
*
* @return "locked" timestamp
*/
- public Timestamp getCustomerLocked ();
+ public String getCustomerLocked ();
/**
* Getter for "locked" timestamp
*
* @param customerLocked "locked" timestamp
*/
- public void setCustomerLocked (final Timestamp customerLocked);
+ public void setCustomerLocked (final String customerLocked);
/**
* Setter for customer number
*/
package org.mxchange.jshopcore.model.customer;
-import java.sql.Timestamp;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
@Basic(optional = false)
@Temporal (TemporalType.TIMESTAMP)
@Column (name = "customer_created", nullable = false)
- private Timestamp customerCreated;
+ private String customerCreated;
/**
* "locked" timestamp
*/
@Temporal (TemporalType.TIMESTAMP)
@Column (name = "customer_locked")
- private Timestamp customerLocked;
+ private String customerLocked;
/**
* Customer number, this is different to the database entry customerId.
}
@Override
- public Timestamp getCustomerCreated () {
+ public String getCustomerCreated () {
return this.customerCreated;
}
@Override
- public void setCustomerCreated (final Timestamp customerCreated) {
+ public void setCustomerCreated (final String customerCreated) {
this.customerCreated = customerCreated;
}
@Override
- public Timestamp getCustomerLocked () {
+ public String getCustomerLocked () {
return this.customerLocked;
}
@Override
- public void setCustomerLocked (final Timestamp customerLocked) {
+ public void setCustomerLocked (final String customerLocked) {
this.customerLocked = customerLocked;
}
package org.mxchange.jshopcore.model.order;
import java.io.Serializable;
-import java.sql.Timestamp;
import java.util.List;
import org.mxchange.jshopcore.model.basket.AddableBasketItem;
import org.mxchange.jshopcore.model.customer.Customer;
*
* @return Created timestamp
*/
- public Timestamp getCreated ();
+ public String getCreated ();
/**
* Setter for created timestamp
*
* @param created Created timestamp
*/
- public void setCreated (final Timestamp created);
+ public void setCreated (final String created);
/**
* Getter for list of ordered basket items
*/
package org.mxchange.jshopcore.model.order;
-import java.sql.Timestamp;
import java.util.List;
import javax.persistence.Basic;
import javax.persistence.Column;
@Basic (optional = false)
@Temporal (TemporalType.TIMESTAMP)
@Column (nullable = false)
- private Timestamp created;
+ private String created;
/**
* Item list, don't save this
}
@Override
- public Timestamp getCreated () {
+ public String getCreated () {
return this.created;
}
@Override
- public void setCreated (final Timestamp created) {
+ public void setCreated (final String created) {
this.created = created;
}