summaryrefslogtreecommitdiff
path: root/config/models
blob: 862fe246ec2a797def4a2982a4042b704d8c2ceb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Item
    kind Text
    normKind Text
    bought ItemDate
    expires ItemDate
    opened ItemDate
    runningLow Bool default=false
    Foreign Kind fkType normKind
    deriving Show Eq
Reference
    normKind Text
    kind Text
    UniqueRefKind normKind
    Foreign Kind fkType normKind
    deriving Show Eq Ord
Kind
    normKind Text
    type Text
    Primary normKind
    UniqueKind normKind
    deriving Show Eq