aboutsummaryrefslogtreecommitdiff
path: root/models/list.go
diff options
context:
space:
mode:
authorjan <jan@ruken.pw>2016-10-12 14:03:40 (UTC)
committerjan <jan@ruken.pw>2016-10-12 14:03:40 (UTC)
commitdef8ba82c69891244eb0f8eebe0cb0b3bb23955b (patch)
treed126befcea381077bd3074661821602d4b0c4c42 /models/list.go
parentc6165a8bbcca97867205fa87456ba238beb760f9 (diff)
alle models verschoben
Diffstat (limited to 'models/list.go')
-rw-r--r--models/list.go25
1 files changed, 25 insertions, 0 deletions
diff --git a/models/list.go b/models/list.go
new file mode 100644
index 0000000..1d67546
--- /dev/null
+++ b/models/list.go
@@ -0,0 +1,25 @@
1package models
2
3import (
4 "database/sql"
5
6 "fagott.pw/charakterin"
7 "github.com/lib/pq"
8)
9
10// List ist eine Liste an DINGEN.
11type List struct {
12 ID int
13 Name string
14 Description string
15 Owner *charakterin.User
16 ForkOf sql.NullInt64
17 UpdatedAt pq.NullTime
18 Grils []*ListGril
19}
20
21// ListGril ist ein geranktes Gril
22type ListGril struct {
23 Gril *Gril
24 Order int
25}