From 220f11acd139159fee4c9253bf5df88160a8fabe Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期四, 13 六月 2024 20:02:58 +0800
Subject: [PATCH] add attribute and attribute value model auto migrate
---
request/warehouse.go | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/request/warehouse.go b/request/warehouse.go
index 74082ff..7f14cc1 100644
--- a/request/warehouse.go
+++ b/request/warehouse.go
@@ -16,6 +16,7 @@
InboundTransportation int `json:"inboundTransportation" gorm:"type:int;comment:鍏ュ悜杩愯緭"` //鍏ュ悜杩愯緭
OutboundTransportation int `json:"outboundTransportation" gorm:"type:int;comment:鍑哄簱杩愯緭"` //鍑哄簱杩愯緭
LocationId int `json:"locationId" gorm:"type:int;comment:浣嶇疆id"` //浣嶇疆id
+ Contacts string `json:"contacts" gorm:"type:varchar(255);comment:鑱旂郴浜�"` //鑱旂郴浜�
}
type UpdateWarehouse struct {
--
Gitblit v1.8.0