import org.mxchange.jphone.phonenumbers.landline.LandLineNumber;
/**
- * A general contact class which should only be extended.
+ * A general contact class which serves as an entity.
* <p>
* @author Roland Haeder<roland@mxchange.org>
* @version 0.0
/**
* City
*/
- @Basic(optional = false)
+ @Basic (optional = false)
@Column (name = "contact_city", nullable = false, length = 100)
private String contactCity;
/**
* Email address
*/
- @Basic(optional = false)
+ @Basic (optional = false)
@Column (name = "contact_email_address", length = 100, nullable = false)
private String contactEmailAddress;
/**
* House number
*/
- @Basic(optional = false)
+ @Basic (optional = false)
@Column (name = "contact_house_number", length = 5, nullable = false)
private Short contactHouseNumber;
/**
* Flag whether this contact is user's own data
*/
- @Basic(optional = false)
+ @Basic (optional = false)
@Column (name = "contact_own_contact", nullable = false)
private Boolean contactOwnContact;
/**
* Street
*/
- @Basic(optional = false)
+ @Basic (optional = false)
@Column (name = "contact_street", nullable = false)
private String contactStreet;
/**
* ZIP code
*/
- @Basic(optional = false)
+ @Basic (optional = false)
@Column (name = "contact_zip_code", nullable = false, length = 6)
private Integer contactZipCode;