Created
February 11, 2019 23:11
-
-
Save CagriAldemir/3bfceb9104dc285ca3a1d913e6fce4fb 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
package tr.com.cagrialdemir.recyclerviewexampleapp; | |
import java.util.Date; | |
public class ModelExample { | |
private String nameSurname; | |
private Date dateOfBirth; | |
public ModelExample(String nameSurname, Date dateOfBirth) { | |
this.nameSurname = nameSurname; | |
this.dateOfBirth = dateOfBirth; | |
} | |
public String getNameSurname() { | |
return nameSurname; | |
} | |
public void setNameSurname(String nameSurname) { | |
this.nameSurname = nameSurname; | |
} | |
public Date getDateOfBirth() { | |
return dateOfBirth; | |
} | |
public void setDateOfBirth(Date dateOfBirth) { | |
this.dateOfBirth = dateOfBirth; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment