Skip to content

Instantly share code, notes, and snippets.

@myanmarlinks
Last active July 11, 2017 17:25
Show Gist options
  • Save myanmarlinks/f50cb397020c67f0fc29a69cfa7f3c92 to your computer and use it in GitHub Desktop.
Save myanmarlinks/f50cb397020c67f0fc29a69cfa7f3c92 to your computer and use it in GitHub Desktop.
Awesome Realm Android
package net.myanmarlinks.awesomerealm.model;
import io.realm.RealmObject;
/**
* Created by soethihanaung on 7/7/17.
*/
public class Author extends RealmObject {
String id;
String name;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment