From 725458dfe3445c6e5f2e08c3cc852d8aea8f0cb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Mon, 8 Feb 2021 08:58:44 +0800 Subject: [PATCH] aa --- business/model/store.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/business/model/store.go b/business/model/store.go index 0d99d4b90..3821ed4af 100644 --- a/business/model/store.go +++ b/business/model/store.go @@ -783,3 +783,15 @@ func (*Brand) TableUnique() [][]string { []string{"Name"}, } } + +type BrandStroe struct { + ModelIDCULD + + Name string `orm:"size(255)" json:"name"` //门店名 +} + +func (*BrandStroe) TableUnique() [][]string { + return [][]string{ + []string{"Name"}, + } +}