Last active
August 29, 2015 14:17
-
-
Save oznus/38d41c4291c7d38ff5c9 to your computer and use it in GitHub Desktop.
Realm example class
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 User extends RealmObject { | |
@PrimaryKey | |
private int userId; | |
private String description; | |
private String sureName; | |
private String name; | |
public String getDescription() { | |
return description; | |
} | |
public void setDescription(String description) { | |
this.description = description; | |
} | |
public String getName() { | |
return name; | |
} | |
public void setName(String name) { | |
this.name = name; | |
} | |
public String getSurName() { | |
return surname; | |
} | |
public void setSureName(String sureName) { | |
this.sureName = sureName; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment