Last active
October 27, 2016 13:31
-
-
Save matdziu/f90d49f92bde5f99464eaf680e194b6f to your computer and use it in GitHub Desktop.
This file contains hidden or 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 DataModel { | |
| private String status; | |
| private String sex; | |
| private String surname; | |
| private String name; | |
| private int id; | |
| public DataModel(String status, String sex, String surname, String name, int id) { | |
| this.status = status; | |
| this.sex = sex; | |
| this.surname = surname; | |
| this.name = name; | |
| this.id = id; | |
| } | |
| @Override | |
| public String toString() { | |
| return "name: " + name | |
| + ", surname: " + surname | |
| + ", sex: " + sex | |
| + ", id: " + id | |
| + ", status: " + status; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment