package org.mxchange.jshopcore.model.order;
import java.io.Serializable;
-import java.util.Calendar;
+import java.util.Date;
import java.util.List;
import org.mxchange.jcustomercore.model.customer.Customer;
import org.mxchange.jshopcore.model.basket.AddableBasketItem;
* <p>
* @return Created timestamp
*/
- Calendar getOrderCreated ();
+ Date getOrderCreated ();
/**
* Setter for created timestamp
* <p>
* @param created Created timestamp
*/
- void setOrderCreated (final Calendar created);
+ void setOrderCreated (final Date created);
/**
* Getter for customer instance
*/
package org.mxchange.jshopcore.model.order;
-import java.util.Calendar;
+import java.util.Date;
import java.util.List;
import java.util.Objects;
import javax.persistence.Basic;
@Basic (optional = false)
@Temporal (TemporalType.TIMESTAMP)
@Column (name = "order_created", nullable = false)
- private Calendar orderCreated;
+ private Date orderCreated;
/**
* Order orderId
}
@Override
- public Calendar getOrderCreated () {
+ public Date getOrderCreated () {
return this.orderCreated;
}
@Override
- public void setOrderCreated (final Calendar orderCreated) {
+ public void setOrderCreated (final Date orderCreated) {
this.orderCreated = orderCreated;
}