- 平台门店调价价格包实现初始版本
This commit is contained in:
20
business/model/new_config.go
Normal file
20
business/model/new_config.go
Normal file
@@ -0,0 +1,20 @@
|
||||
package model
|
||||
|
||||
const (
|
||||
ConfigTypeSys = "Sys"
|
||||
ConfigTypePricePack = "PricePack"
|
||||
)
|
||||
|
||||
type NewConfig struct {
|
||||
ModelIDCULD
|
||||
|
||||
Type string `orm:"size(16)" json:"type"`
|
||||
Key string `orm:"size(32)" json:"key"`
|
||||
Value string `orm:"size(4096)" json:"value"`
|
||||
}
|
||||
|
||||
func (*NewConfig) TableUnique() [][]string {
|
||||
return [][]string{
|
||||
[]string{"Key", "Type", "DeletedAt"},
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user