Created
April 14, 2019 14:57
-
-
Save amit-bhandari/a6aa16dc7fbbfc1d6727c7e0ca673ec4 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
@Entity | |
public class Quote{ | |
@PrimaryKey(autoGenerate = true) | |
private int id=0; | |
private String quote; | |
private String author; | |
private String category; | |
public String getQuote() { | |
return quote; | |
} | |
public void setQuote(String quote) { | |
this.quote = quote; | |
} | |
//getter setters omitted for brevity | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment