diff options
Diffstat (limited to 'item/item.go')
-rw-r--r-- | item/item.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/item/item.go b/item/item.go index 839cbe0..02e568e 100644 --- a/item/item.go +++ b/item/item.go @@ -32,7 +32,9 @@ func init() { type Brand struct { gorm.Model - Name string + UserID uint `json:"-"` + User user.User `json:"-"` + Name string } type Item struct { |