You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
672 B

  1. // 自动生成模板SysDictionaryDetail
  2. package model
  3. import (
  4. "gorm.io/gorm"
  5. )
  6. // 如果含有time.Time 请自行import time包
  7. type SysDictionaryDetail struct {
  8. gorm.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. }