package models import ( "time" ) type TDataexJyt2012 struct { Id string `json:"id" xorm:"not null pk comment('ID') VARCHAR(36)"` DicName string `json:"dic_name" xorm:"not null comment('字典/字典项名称') VARCHAR(100)"` DicValue string `json:"dic_value" xorm:"not null comment('字典/字典项值') VARCHAR(100)"` DicType int `json:"dic_type" xorm:"not null default 1 comment('字典类型【1:国标数据、关联数据源,2:国标字典、关联元数据】') INT(11)"` DicInfo string `json:"dic_info" xorm:"default ''NULL'' comment('字典相信说明') VARCHAR(500)"` RootFlag int `json:"root_flag" xorm:"not null default -1 comment('是否是字典【1:是,-1:否】') INT(11)"` JytFlag int `json:"jyt_flag" xorm:"not null default 1 comment('是否国标【1:是,-1:自定义】') INT(11)"` ParentId string `json:"parent_id" xorm:"default ''NULL'' comment('字典ID【字典项父节点】') VARCHAR(36)"` CreateTime time.Time `json:"create_time" xorm:"default 'NULL' created comment('建立时间') DATETIME"` ChangeTime time.Time `json:"change_time" xorm:"default 'NULL' updated comment('最近修改时间') DATETIME"` DeleteTime time.Time `json:"delete_time" xorm:"default 'NULL' deleted comment('删除时间') DATETIME"` DeleteFlag int `json:"delete_flag" xorm:"not null default -1 comment('删除标志【默认-1,1:删除,-1:正常】') INT(11)"` EnableFlag int `json:"enable_flag" xorm:"not null default 1 comment('启用标志【默认1,1:启用,-1:禁用】') INT(11)"` }