type Dict struct {
Type int `gorm:"comment:类型" gorm:"primaryKey"`
Key string `gorm:"comment:键" gorm:"primaryKey"`
Name string `gorm:"comment:名称"`
Value string `gorm:"comment:值"`
Comment string `gorm:"comment:注释"`
}
type Enum struct {
ID int `gorm:"primaryKey"`
Name string `gorm:"comment:名称"`
Group int `gorm:"comment:枚举组" gorm:"uniqueIndex:idx_group_index"`
Index int `gorm:"comment:索引" gorm:"uniqueIndex:idx_group_index"`
Value string `gorm:"comment:值" `
Comment string `gorm:"comment:注释"`
}