Skip to content

Instantly share code, notes, and snippets.

@jedsada-gh
Forked from PondThaitay/Student.class
Created February 7, 2017 13:50
Show Gist options
  • Save jedsada-gh/e3ad7d944ea9d947ab6e012e5fecc991 to your computer and use it in GitHub Desktop.
Save jedsada-gh/e3ad7d944ea9d947ab6e012e5fecc991 to your computer and use it in GitHub Desktop.
public class Student extends RealmObject {
@PrimaryKey
private int studentId;
private String firstName;
private String lastName;
private int age;
private String gender;
private String city;
//Create getter and setter
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment