@Column (name = "phone_number", nullable = false)
private Long phoneNumber;
+ /**
+ * Default constructor
+ */
+ public LandLineNumber () {
+ }
+
/**
* Constructor with country instance, area code and number
* <p>
* @param phoneCountry Country instance
* @param phoneAreaCode Phone area code
* @param phoneNumber Phone number
- * @param phoneEntryCreated When this entry has been created
*/
- public LandLineNumber (final Country phoneCountry, final Integer phoneAreaCode, final Long phoneNumber, final Calendar phoneEntryCreated) {
+ public LandLineNumber (final Country phoneCountry, final Integer phoneAreaCode, final Long phoneNumber) {
// Call default constructor
this();
this.phoneCountry = phoneCountry;
this.phoneAreaCode = phoneAreaCode;
this.phoneNumber = phoneNumber;
- this.phoneEntryCreated = phoneEntryCreated;
- }
-
- /**
- * Default constructor
- */
- public LandLineNumber () {
}
@Override