Created
July 16, 2019 11:10
-
-
Save shriomtri/2b3c9acb3d80b34cdfb5c6c00ce136f6 to your computer and use it in GitHub Desktop.
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
import java.io.Serializable; | |
public class ContactModel implements Serializable{ | |
private String name; | |
private String email; | |
private String phone; | |
public ContactModel(String name, String email, String phone) { | |
this.name = name; | |
this.email = email; | |
this.phone = phone; | |
} | |
public String getName() { | |
return name; | |
} | |
public String getEmail() { | |
return email; | |
} | |
public String getPhone() { | |
return phone; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment