summaryrefslogtreecommitdiff
path: root/vdrmanager/src/de
diff options
context:
space:
mode:
Diffstat (limited to 'vdrmanager/src/de')
-rw-r--r--vdrmanager/src/de/bjusystems/vdrmanager/data/Channel.java20
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() {