Skip to content

Instantly share code, notes, and snippets.

@Bambina-zz
Last active May 10, 2017 00:22
Show Gist options
  • Save Bambina-zz/4e27f326f16228fbf316f0787671e659 to your computer and use it in GitHub Desktop.
Save Bambina-zz/4e27f326f16228fbf316f0787671e659 to your computer and use it in GitHub Desktop.
public class Bread extends RealmObject {
public String name;
public boolean isEdible;
@Ignore
public int price;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public boolean getIsEdible() {
return isEdible;
}
public void setIsEdible(boolean isEdible) {
this.isEdible = isEdible;
}
public int getPrice() {
return price;
}
public void setPrice(int price) {
this.price = price;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment