diff options
author | lado <herrlado@gmail.com> | 2013-02-12 22:23:30 +0100 |
---|---|---|
committer | lado <herrlado@gmail.com> | 2013-02-12 22:23:30 +0100 |
commit | 081040834e38e52a47cdf72281a2f3dcf30a1754 (patch) | |
tree | 20c705b2617bedeb025fb6e03c6c80b6bdac1b18 | |
parent | 7cf09896768d7d8b53734b130eb8d8d47e00cb14 (diff) | |
download | vdr-manager-081040834e38e52a47cdf72281a2f3dcf30a1754.tar.gz vdr-manager-081040834e38e52a47cdf72281a2f3dcf30a1754.tar.bz2 |
@DatabaseTable
-rw-r--r-- | vdrmanager/src/de/bjusystems/vdrmanager/data/Channel.java | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/vdrmanager/src/de/bjusystems/vdrmanager/data/Channel.java b/vdrmanager/src/de/bjusystems/vdrmanager/data/Channel.java index 02e9cc7..1a75469 100644 --- a/vdrmanager/src/de/bjusystems/vdrmanager/data/Channel.java +++ b/vdrmanager/src/de/bjusystems/vdrmanager/data/Channel.java @@ -1,19 +1,33 @@ package de.bjusystems.vdrmanager.data; -import de.bjusystems.vdrmanager.StringUtils; -import de.bjusystems.vdrmanager.app.C; - import android.os.Parcel; import android.os.Parcelable; +import com.j256.ormlite.field.DatabaseField; +import com.j256.ormlite.table.DatabaseTable; + +import de.bjusystems.vdrmanager.StringUtils; +import de.bjusystems.vdrmanager.app.C; + +@DatabaseTable public class Channel implements Parcelable { + + @DatabaseField(id=true) String id; private int number; + + @DatabaseField private String name; + + @DatabaseField(index=true) private String provider; + + @DatabaseField private String rawAudio; + + @DatabaseField(index = true) private String group; public String getGroup() { |