Files
jx-callback/business/model/new_config.go

21 lines
372 B
Go

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