Last active
June 12, 2021 07:30
-
-
Save lovewithmind/5dccc47626fb840ac17e08c4cfb68411 to your computer and use it in GitHub Desktop.
Person data class
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Person { | |
private final Integer identificationNumber; | |
private final String name; | |
private final String email; | |
private final String phoneNumber; | |
private final String mobileNumber; | |
private final Address homeAddress; | |
private final Address officeAddress; | |
public Person(final Integer identificationNumber, | |
final String name, | |
final String email, | |
final String phoneNumber, | |
final String mobileNumber, | |
final Address homeAddress, | |
final Address officeAddress) { | |
this.identificationNumber = identificationNumber; | |
this.name = name; | |
this.email = email; | |
this.phoneNumber = phoneNumber; | |
this.mobileNumber = mobileNumber; | |
this.homeAddress = homeAddress; | |
this.officeAddress = officeAddress; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment