隐私号
This commit is contained in:
16
business/model/secret_number.go
Normal file
16
business/model/secret_number.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package model
|
||||
|
||||
type SecretNumber struct {
|
||||
ModelIDCULD
|
||||
|
||||
PoolKey string `json:"poolKey"`
|
||||
Number string `json:"number"` //隐私号
|
||||
City string `json:"city"` //归属地
|
||||
Comment string `json:"comment"` //备注
|
||||
}
|
||||
|
||||
func (*SecretNumber) TableUnique() [][]string {
|
||||
return [][]string{
|
||||
[]string{"PoolKey", "Number"},
|
||||
}
|
||||
}
|
||||
@@ -812,11 +812,12 @@ func (*StoreAudit) TableIndex() [][]string {
|
||||
type Brand struct {
|
||||
ModelIDCULD
|
||||
|
||||
Name string `orm:"size(255)" json:"name"` //品牌名
|
||||
Logo string `orm:"size(255)" json:"logo"` //品牌logo
|
||||
BrandType int `json:"brandType"` //品牌类型
|
||||
IsOpen int `json:"isOpen"` //主要三方配送用,是否配送,默认0表示打开,1表示关
|
||||
IsPrint int `json:"isPrint"` //是否打印小票中的标题,默认0表示打,1表示不打
|
||||
Name string `orm:"size(255)" json:"name"` //品牌名
|
||||
Logo string `orm:"size(255)" json:"logo"` //品牌logo
|
||||
BrandType int `json:"brandType"` //品牌类型
|
||||
IsOpen int `json:"isOpen"` //主要三方配送用,是否配送
|
||||
IsPrint int `json:"isPrint"` //是否打印小票中的标题,默认0表示打,1表示不打
|
||||
SecretNumberPoolKey string `json:"secretNumberPoolKey"` //隐私号池ID,一个品牌对应一个池子
|
||||
}
|
||||
|
||||
func (*Brand) TableUnique() [][]string {
|
||||
|
||||
Reference in New Issue
Block a user