Last active
May 10, 2017 00:22
-
-
Save Bambina-zz/4e27f326f16228fbf316f0787671e659 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
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