sys_dictionary_detail.go 924 B

12345678910111213141516
  1. // 自动生成模板SysDictionaryDetail
  2. package system
  3. import (
  4. "github.com/flipped-aurora/gin-vue-admin/server/global"
  5. )
  6. // 如果含有time.Time 请自行import time包
  7. type SysDictionaryDetail struct {
  8. global.GVA_MODEL
  9. Label string `json:"label" form:"label" gorm:"column:label;comment:展示值"` // 展示值
  10. Value int `json:"value" form:"value" gorm:"column:value;comment:字典值"` // 字典值
  11. Status *bool `json:"status" form:"status" gorm:"column:status;comment:启用状态"` // 启用状态
  12. Sort int `json:"sort" form:"sort" gorm:"column:sort;comment:排序标记"` // 排序标记
  13. SysDictionaryID int `json:"sysDictionaryID" form:"sysDictionaryID" gorm:"column:sys_dictionary_id;comment:关联标记"` // 关联标记
  14. }