*/
package org.mxchange.jcore.model.contact;
-import java.sql.Timestamp;
import java.util.Date;
import java.util.Objects;
import javax.annotation.PostConstruct;
@Basic(optional = false)
@Temporal (TemporalType.TIMESTAMP)
@Column(nullable = false)
- private Timestamp created;
+ private String created;
/**
* Email address
* When the contact has been updated
*/
@Temporal (TemporalType.TIMESTAMP)
- private Timestamp updated;
+ private String updated;
/**
* ZIP code
}
@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;
}
}
@Override
- public Timestamp getUpdated () {
+ public String getUpdated () {
return this.updated;
}
@Override
- public void setUpdated (final Timestamp updated) {
+ public void setUpdated (final String updated) {
this.updated = updated;
}
package org.mxchange.jcore.model.contact;
import java.io.Serializable;
-import java.sql.Timestamp;
import java.util.Date;
import org.mxchange.jcore.model.contact.gender.Gender;
*
* @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 "updated" timestamp
*
* @return "updated" timestamp
*/
- public Timestamp getUpdated ();
+ public String getUpdated ();
/**
* Getter for "updated" timestamp
*
* @param updated "updated" timestamp
*/
- public void setUpdated (final Timestamp updated);
+ public void setUpdated (final String updated);
}