You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
844 B

package model
import "bkb-seller/global"
type SellerStore struct { //店铺
StoreNo string `gorm:"unique;type:varchar(60);" json:"store_no"` //店铺编号
Type int `gorm:"type:tinyint(1)" json:"type"` //1:个人店铺
CreateBy string `gorm:"type:varchar(60);" json:"create_by"` //创建人
Email string `gorm:"type:varchar(100);" json:"email"` //店铺联系email(注册账号email)
global.MG_MODEL
}
type SellerStoreInfo struct {
StoreNo string `json:"store_no"` //店铺编号
Type int `json:"type"` //1:个人店铺
CreateBy string `json:"create_by"` //创建人
Email string `json:"email"` //店铺联系email(注册账号email)
}
func (SellerStore) TableName() string {
return "seller_store"
}
func (SellerStoreInfo) TableName() string {
return "seller_store"
}