heritage-api/model/option-model.go

9 lines
350 B
Go

package model
// 系统选项表
type Option struct {
ID uint `json:"id" gorm:"primaryKey"`
OptionName string `json:"optionName" gorm:"type:varchar(10);not null;index;comment:单位选项,level-保护单位级别,type-保护单位类别,batch-公布批次"`
OptionValue string `json:"optionValue" gorm:"type:varchar(50);not null;"`
}