aboutsummaryrefslogtreecommitdiff
path: root/item
diff options
context:
space:
mode:
Diffstat (limited to 'item')
-rw-r--r--item/item.go4
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 {