- package model
- import "gorm.io/gorm"
- type ConfigItemModel struct {
- gorm.Model
- BlockKey string
- Key string
- ApolloKey string
- ConstraintList []ValueConstraintModel `gorm:"many2many:cc_rel_item_cst"`
- }
- func (c ConfigItemModel) TableName() string {
- return "cc_config_item"
- }
|