Skip to content

Instantly share code, notes, and snippets.

@shriomtri
Created July 16, 2019 11:10
Show Gist options
  • Save shriomtri/2b3c9acb3d80b34cdfb5c6c00ce136f6 to your computer and use it in GitHub Desktop.
Save shriomtri/2b3c9acb3d80b34cdfb5c6c00ce136f6 to your computer and use it in GitHub Desktop.
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