package models import ( "time" "github.com/google/uuid" ) type Statistic struct { ID int64 `json:"-"` Date time.Time `json:"date"` User User `json:"user"` Quantity int `json:"quantity"` } type User struct { ID int64 `json:"-"` Name string `json:"name"` UUID uuid.UUID `json:"uuid"` Password string `json:"-"` } type Token struct { ID int64 `json:"-"` UserID int64 `json:"user_id"` Token string `json:"token"` CreatedAt time.Time `json:"created_at"` ExpiredAt time.Time `json:"expired_at"` } 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"` }