- 平台门店调价价格包实现初始版本

This commit is contained in:
gazebo
2019-07-16 11:36:28 +08:00
parent bdee4269d5
commit f133ccb290
13 changed files with 292 additions and 22 deletions

View 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"},
}
}