Back to project page EnklawaPlayer.
The source code is released under:
GNU General Public License
If you think the Android project EnklawaPlayer listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package macbury.pod.db.models; /*from w w w.ja v a2s .c o m*/ import com.j256.ormlite.dao.ForeignCollection; import com.j256.ormlite.field.DatabaseField; import com.j256.ormlite.field.ForeignCollectionField; import com.j256.ormlite.table.DatabaseTable; /** * Created by macbury on 09.09.14. */ @DatabaseTable(tableName = "programs") public class Program { @DatabaseField(canBeNull = false, id = true) public int id; @DatabaseField public String name; @DatabaseField public String description; @DatabaseField public String author; @DatabaseField public boolean live; @DatabaseField public String image; @ForeignCollectionField private ForeignCollection<Episode> episodes; @DatabaseField public boolean favorite; public boolean isFavorite() { return favorite; } }