aa
This commit is contained in:
@@ -784,13 +784,13 @@ func (*Brand) TableUnique() [][]string {
|
||||
}
|
||||
}
|
||||
|
||||
type BrandStroe struct {
|
||||
type BrandStore struct {
|
||||
ModelIDCULD
|
||||
|
||||
Name string `orm:"size(255)" json:"name"` //门店名
|
||||
}
|
||||
|
||||
func (*BrandStroe) TableUnique() [][]string {
|
||||
func (*BrandStore) TableUnique() [][]string {
|
||||
return [][]string{
|
||||
[]string{"Name"},
|
||||
}
|
||||
|
||||
@@ -42,6 +42,7 @@ func Init() {
|
||||
orm.RegisterModel(&model.StorePushClient{})
|
||||
orm.RegisterModel(&model.StoreAudit{})
|
||||
orm.RegisterModel(&model.Brand{})
|
||||
orm.RegisterModel(&model.BrandStore{})
|
||||
|
||||
orm.RegisterModel(&model.AuthBind{}, &model.User{})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user