From 1d5cb2f03c706c4b1cc36f50fd431f98fdbe7101 Mon Sep 17 00:00:00 2001 From: jiangshuai <291802688@qq.com> Date: 星期三, 13 十二月 2023 15:23:33 +0800 Subject: [PATCH] 对number的验证及不重复 --- request/warehouse.go | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/request/warehouse.go b/request/warehouse.go index 47fb595..c509583 100644 --- a/request/warehouse.go +++ b/request/warehouse.go @@ -15,6 +15,7 @@ Address string `json:"address" gorm:"type:varchar(512);comment:鍦板潃"` //鍦板潃 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 } type UpdateWarehouse struct { -- Gitblit v1.8.0