aboutsummaryrefslogtreecommitdiff
path: root/item/item.go
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.com>2023-09-03 18:34:56 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.com>2023-09-03 18:34:56 +0530
commit020fc720379255832aad369dfc2dece9a1cf4699 (patch)
tree25e3f1ee3349b0d6f536d91a76a6d9a334bea03d /item/item.go
parent776522d8741752832981b17ec81deb11a298ef57 (diff)
added pretty startup messages
Diffstat (limited to 'item/item.go')
-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 {