|
|
<<<<<<< HEAD
|
|
|
/**
|
|
|
* @Title:
|
|
|
* @Description:
|
|
|
* @Author: Yuki Wong(iyuki0430@msn.com)
|
|
|
* @Update:
|
|
|
* @Date: 2020/7/9 10:24
|
|
|
* @File: Jyt2012Swag.go
|
|
|
* @Software: GoLand
|
|
|
**/
|
|
|
package MySwagger
|
|
|
|
|
|
import "time"
|
|
|
|
|
|
type Jyt2012Swag struct {
|
|
|
Id string `json:"id" xorm:"not null pk comment('ID') VARCHAR(36)" example:"F38BD0DB-0142-4356-8F2B-623813FC2578"`
|
|
|
DicName string `json:"dic_name" xorm:"not null comment('字典/字典项名称') VARCHAR(100)" example:"sex"`
|
|
|
DicValue string `json:"dic_name" xorm:"not null comment('字典/字典项值') VARCHAR(100)" example:"10"`
|
|
|
DicType int `json:"dic_type" xorm:"not null default 1 comment('字典类型【1:国标数据、关联数据源,2:国标字典、关联元数据】') INT(11)" example:"1"`
|
|
|
DicInfo string `json:"dic_info" xorm:"default ''NULL'' comment('字典项说明') VARCHAR(500)" example:"我是字典项说明"`
|
|
|
RootFlag int `json:"root_flag" xorm:"not null default -1 comment('是否是字典【1:是,-1:否】') INT(11)" example:"1"`
|
|
|
JytFlag int `json:"jyt_flag" xorm:"not null default 1 comment('是否国标【1:是,-1:自定义】') INT(11)" example:"1"`
|
|
|
ParentId string `json:"parent_id" xorm:"default ''NULL'' comment('字典ID【字典项父节点】') VARCHAR(36)" example:"38BD0DB-0142-4356-8F2B-623813FC2578"`
|
|
|
CreateTime time.Time `json:"create_time" xorm:"default 'NULL' created comment('建立时间') DATETIME" example:"2020-06-22 17:26:53"`
|
|
|
ChangeTime time.Time `json:"change_time" xorm:"default 'NULL' updated comment('最近修改时间') DATETIME" example:"2020-06-22 17:26:53"`
|
|
|
DeleteTime time.Time `json:"delete_time" xorm:"default 'NULL' deleted comment('删除时间') DATETIME" example:"2020-06-22 17:26:53"`
|
|
|
DeleteFlag int `json:"delete_flag" xorm:"not null default -1 comment('删除标志【默认-1,1:删除,-1:正常】') INT(11)" example:"1"`
|
|
|
EnableFlag int `json:"enable_flag" xorm:"not null default 1 comment('启用标志【默认1,1:启用,-1:禁用】') INT(11)" example:"1"`
|
|
|
Page int `json:"page" example:"1"`
|
|
|
}
|
|
|
=======
|
|
|
/**
|
|
|
* @Title:
|
|
|
* @Description:
|
|
|
* @Author: Yuki Wong(iyuki0430@msn.com)
|
|
|
* @Update:
|
|
|
* @Date: 2020/7/9 10:24
|
|
|
* @File: Jyt2012Swag.go
|
|
|
* @Software: GoLand
|
|
|
**/
|
|
|
package MySwagger
|
|
|
|
|
|
import "time"
|
|
|
|
|
|
type Jyt2012Swag struct {
|
|
|
Id string `json:"id" xorm:"not null pk comment('ID') VARCHAR(36)" example:"F38BD0DB-0142-4356-8F2B-623813FC2578"`
|
|
|
DicName string `json:"dic_name" xorm:"not null comment('字典/字典项名称') VARCHAR(100)" example:"sex"`
|
|
|
DicValue string `json:"dic_value" xorm:"not null comment('字典/字典项值') VARCHAR(100)" example:"10"`
|
|
|
DicType int `json:"dic_type" xorm:"not null default 1 comment('字典类型【1:国标数据、关联数据源,2:国标字典、关联元数据】') INT(11)" example:"1"`
|
|
|
DicInfo string `json:"dic_info" xorm:"default ''NULL'' comment('字典项说明') VARCHAR(500)" example:"我是字典项说明"`
|
|
|
RootFlag int `json:"root_flag" xorm:"not null default -1 comment('是否是字典【1:是,-1:否】') INT(11)" example:"1"`
|
|
|
JytFlag int `json:"jyt_flag" xorm:"not null default 1 comment('是否国标【1:是,-1:自定义】') INT(11)" example:"1"`
|
|
|
ParentId string `json:"parent_id" xorm:"default ''NULL'' comment('字典ID【字典项父节点】') VARCHAR(36)" example:"38BD0DB-0142-4356-8F2B-623813FC2578"`
|
|
|
CreateTime time.Time `json:"create_time" xorm:"default 'NULL' created comment('建立时间') DATETIME" example:"2020-06-22 17:26:53"`
|
|
|
ChangeTime time.Time `json:"change_time" xorm:"default 'NULL' updated comment('最近修改时间') DATETIME" example:"2020-06-22 17:26:53"`
|
|
|
DeleteTime time.Time `json:"delete_time" xorm:"default 'NULL' deleted comment('删除时间') DATETIME" example:"2020-06-22 17:26:53"`
|
|
|
DeleteFlag int `json:"delete_flag" xorm:"not null default -1 comment('删除标志【默认-1,1:删除,-1:正常】') INT(11)" example:"1"`
|
|
|
EnableFlag int `json:"enable_flag" xorm:"not null default 1 comment('启用标志【默认1,1:启用,-1:禁用】') INT(11)" example:"1"`
|
|
|
Page int `json:"page" example:"1"`
|
|
|
}
|
|
|
>>>>>>> 45f3e9adb8df950c7777dd7b3b0d45c245f98fa2
|