mirror of https://github.com/kurisufriend/Clover
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
518 B
26 lines
518 B
package org.floens.chan.model;
|
|
|
|
import com.j256.ormlite.field.DatabaseField;
|
|
import com.j256.ormlite.table.DatabaseTable;
|
|
|
|
@DatabaseTable
|
|
public class Pin {
|
|
@DatabaseField(generatedId = true)
|
|
private int id;
|
|
|
|
public Type type = Type.THREAD;
|
|
|
|
@DatabaseField(canBeNull = false, foreign = true)
|
|
public Loadable loadable = new Loadable("", -1);
|
|
|
|
/** Header is used to display a static header in the drawer listview. */
|
|
public static enum Type {
|
|
HEADER,
|
|
THREAD
|
|
};
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|