aboutsummaryrefslogtreecommitdiff
path: root/api/internal/models/preferences.go
blob: cbbd47cfcc8ea6d1b8694a526dd76be43ad90204 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package models

type Preference struct {
	ID     int64  `json:"-"`
	Color  string `json:"color"`
	UserID int64  `json:"-"`
	Size   Size   `json:"size"`
}

type Size struct {
	ID   int64  `json:"-"`
	Size int64  `json:"size"`
	Unit string `json:"unit"`
}