diff options
Diffstat (limited to 'modules/grils')
-rw-r--r-- | modules/grils/gril.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/grils/gril.go b/modules/grils/gril.go index f78d31f..edec05a 100644 --- a/modules/grils/gril.go +++ b/modules/grils/gril.go | |||
@@ -19,6 +19,12 @@ const ( | |||
19 | DataSourceAnilist | 19 | DataSourceAnilist |
20 | ) | 20 | ) |
21 | 21 | ||
22 | type Trait struct { | ||
23 | Name string | ||
24 | Value string | ||
25 | OfficialValue string | ||
26 | } | ||
27 | |||
22 | type Gril struct { | 28 | type Gril struct { |
23 | ID int | 29 | ID int |
24 | KanjiName string | 30 | KanjiName string |
@@ -27,6 +33,7 @@ type Gril struct { | |||
27 | Age sql.NullInt64 | 33 | Age sql.NullInt64 |
28 | Birthday pq.NullTime | 34 | Birthday pq.NullTime |
29 | Tags []string | 35 | Tags []string |
36 | Traits []Trait | ||
30 | ForeignIDs map[DataSource]int | 37 | ForeignIDs map[DataSource]int |
31 | UpdatedAt time.Time | 38 | UpdatedAt time.Time |
32 | Lists []int | 39 | Lists []int |