diff options
Diffstat (limited to 'api/internal/models/preferences.go')
-rw-r--r-- | api/internal/models/preferences.go | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/api/internal/models/preferences.go b/api/internal/models/preferences.go new file mode 100644 index 0000000..8022099 --- /dev/null +++ b/api/internal/models/preferences.go | |||
@@ -0,0 +1,14 @@ | |||
1 | package models | ||
2 | |||
3 | type Preference struct { | ||
4 | ID int64 `json:"id"` | ||
5 | Color string `json:"color"` | ||
6 | UserID int64 `json:"user_id"` | ||
7 | SizeID int64 `json:"size_id"` | ||
8 | } | ||
9 | |||
10 | type Size struct { | ||
11 | ID int64 `json:"id"` | ||
12 | Size int64 `json:"size"` | ||
13 | Unit string `json:"unit"` | ||
14 | } | ||