blob: 382c06fc3c384327dead6830770223e6f2e73f38 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
package net.miz_hi.smileessence.data.list;
import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;
@DatabaseTable(tableName = "lists")
public class List
{
@DatabaseField(id = true)
private int listId;
@DatabaseField
private String name;
public List()
{
}
public List(int id, String name)
{
this.listId = id;
this.name = name;
}
public int getListId()
{
return listId;
}
public void setListId(int listId)
{
this.listId = listId;
}
public String getName()
{
return name;
}
public void setName(String name)
{
this.name = name;
}
}
|