diff --git a/dsSupport/MyModel/DataError/DataerrorOpenAPI/DataerrorOpenAPI.go b/dsSupport/MyModel/DataError/DataerrorOpenAPI/DataerrorOpenAPI.go index 5d818290..71ed424a 100644 --- a/dsSupport/MyModel/DataError/DataerrorOpenAPI/DataerrorOpenAPI.go +++ b/dsSupport/MyModel/DataError/DataerrorOpenAPI/DataerrorOpenAPI.go @@ -19,7 +19,7 @@ import ( // 获取数据异常表 godoc // @Summary 获取数据异常列表 -// @Description `json:"id" xorm:"not null pk comment('ID') VARCHAR(36)"`
`json:"system_id" xorm:"not null comment('数据提供系统ID【输入参数】') VARCHAR(36)"`
`json:"datasource_id" xorm:"not null comment('数据源ID【输入参数】') VARCHAR(36)"`
`json:"org_id" xorm:"not null comment('数据机构ID【输入参数】') VARCHAR(36)"`
`json:"data_id" xorm:"not null comment('数据ID【输入参数】') VARCHAR(36)"`
`json:"data_content" xorm:"default 'NULL' comment('数据内容【Json格式输入参数】') VARCHAR"`
`json:"file_uri" xorm:"default 'NULL' comment('文件地址【文件交换】') VARCHAR(500)"`
`json:"error_info" xorm:"default 'NULL' comment('错误信息说明') VARCHAR(5000)"`
`json:"create_time" xorm:"default 'NULL' created comment('建立时间') DATETIME"`
`json:"change_time" xorm:"default 'NULL' updated comment('最近修改时间') DATETIME"`
`json:"delete_time" xorm:"default 'NULL' deleted comment('删除时间') DATETIME"`
`json:"enable_flag" xorm:"not null default 1 comment('启用标志【默认1,1:启用,-1:禁用】') INT(11)"`
`json:"delete_flag" xorm:"not null default -1 comment('删除标志【默认-1,1:删除,-1:正常】') INT(11)"` +// @Description `json:"id" xorm:"not null pk comment('ID') VARCHAR(36)"`
`json:"system_id" xorm:"not null comment('数据提供系统编码') VARCHAR(36)"`
`json:"datasource_id" xorm:"not null comment('数据源编码') VARCHAR(36)"`
`json:"org_id" xorm:"not null comment('数据机构ID【输入参数】') VARCHAR(36)"`
`json:"data_id" xorm:"not null comment('数据ID【输入参数】') VARCHAR(36)"`
`json:"data_content" xorm:"default 'NULL' comment('数据内容【Json格式输入参数】') VARCHAR"`
`json:"file_uri" xorm:"default 'NULL' comment('文件地址【文件交换】') VARCHAR(500)"`
`json:"error_info" xorm:"default 'NULL' comment('错误信息说明') VARCHAR(5000)"`
`json:"create_time" xorm:"default 'NULL' created comment('建立时间') DATETIME"`
`json:"change_time" xorm:"default 'NULL' updated comment('最近修改时间') DATETIME"`
`json:"delete_time" xorm:"default 'NULL' deleted comment('删除时间') DATETIME"`
`json:"enable_flag" xorm:"not null default 1 comment('启用标志【默认1,1:启用,-1:禁用】') INT(11)"`
`json:"delete_flag" xorm:"not null default -1 comment('删除标志【默认-1,1:删除,-1:正常】') INT(11)"` // @Tags dataerror // @ID readDataerror // @Accept json diff --git a/dsSupport/MyModel/DataSource/DatasourceOpenAPI/DatasourceOpenAPI.go b/dsSupport/MyModel/DataSource/DatasourceOpenAPI/DatasourceOpenAPI.go index 48893e8a..8c82e97c 100644 --- a/dsSupport/MyModel/DataSource/DatasourceOpenAPI/DatasourceOpenAPI.go +++ b/dsSupport/MyModel/DataSource/DatasourceOpenAPI/DatasourceOpenAPI.go @@ -11,7 +11,7 @@ import ( // 获取数据源列表 godoc // @Summary 获取数据源列表 -// @Description `json:"system_id" xorm:"not null comment('数据提供系统ID【外键】') index VARCHAR(36)" example:"1C0F6832-65C6-4888-BDDE-A3373B11499D"`
`json:"datasource_name" xorm:"not null comment('数据源名称') VARCHAR(100)" example:"组织机构信息"`
`json:"datasource_code" xorm:"not null comment('数据源编码') VARCHAR(8)" example:"org_tree"`
`json:"datasource_detail" xorm:"default 'NULL' comment('数据源说明') VARCHAR(500)" example:"教育主管单位、教辅单位、各级各类学校机构信息"`
`json:"set_flag" xorm:"not null default 1 comment('可修改【1:是,-1:否】') INT(11)" example:"1"`
`json:"collect_flag" xorm:"not null default 1 comment('可汇集【1:是,-1:否】') INT(11)" example:"1"`
`json:"provide_type" xorm:"not null comment('提供数据范围【1:本机构,2:本机构以及下属机构,-1:不限制】') INT(11)" example:"2"`
`json:"provide_orgid" xorm:"not null comment('提供数据机构ID【-1:不限制】') index VARCHAR(36)" example:"-1"`
`json:"datastore_type" xorm:"not null comment('数据存储类型【1:DB,2:ES,3:Kafka】') INT(11)" example:"2"`
`json:"dic_id, omitempty" xorm:"default 'NULL' comment('数据字典ID') index VARCHAR(36)" example:"1C0F6832-65C6-4888-BDDE-A3373B11499D"`
`json:"delete_flag" xorm:"not null default -1 comment('删除标志【默认-1,1:删除,-1:正常】') INT(11)" example:"1"`
`json:"enable_flag" xorm:"not null default 1 comment('启用标志【默认1,1:启用,-1:禁用】') INT(11)" example:"1"`
`json:"page" example:"1"` +// @Description `json:"system_id" xorm:"not null comment('数据提供系统编码') index VARCHAR(36)" example:"1C0F6832-65C6-4888-BDDE-A3373B11499D"`
`json:"datasource_name" xorm:"not null comment('数据源名称') VARCHAR(100)" example:"组织机构信息"`
`json:"datasource_code" xorm:"not null comment('数据源编码') VARCHAR(8)" example:"org_tree"`
`json:"datasource_detail" xorm:"default 'NULL' comment('数据源说明') VARCHAR(500)" example:"教育主管单位、教辅单位、各级各类学校机构信息"`
`json:"set_flag" xorm:"not null default 1 comment('可修改【1:是,-1:否】') INT(11)" example:"1"`
`json:"collect_flag" xorm:"not null default 1 comment('可汇集【1:是,-1:否】') INT(11)" example:"1"`
`json:"provide_type" xorm:"not null comment('提供数据范围【1:本机构,2:本机构以及下属机构,-1:不限制】') INT(11)" example:"2"`
`json:"provide_orgid" xorm:"not null comment('提供数据机构ID【-1:不限制】') index VARCHAR(36)" example:"-1"`
`json:"datastore_type" xorm:"not null comment('数据存储类型【1:DB,2:ES,3:Kafka】') INT(11)" example:"2"`
`json:"dic_id, omitempty" xorm:"default 'NULL' comment('数据字典ID') index VARCHAR(36)" example:"1C0F6832-65C6-4888-BDDE-A3373B11499D"`
`json:"delete_flag" xorm:"not null default -1 comment('删除标志【默认-1,1:删除,-1:正常】') INT(11)" example:"1"`
`json:"enable_flag" xorm:"not null default 1 comment('启用标志【默认1,1:启用,-1:禁用】') INT(11)" example:"1"`
`json:"page" example:"1"` // @Tags datasource // @ID readDatasource // @Accept json @@ -59,7 +59,7 @@ func ReadDatasource(c *gin.Context) { // 创建数据源 godoc // @Summary 创建数据源 -// @Description `json:"system_id" xorm:"not null comment('数据提供系统ID【外键】') index VARCHAR(36)" example:"1C0F6832-65C6-4888-BDDE-A3373B11499D"`
`json:"datasource_name" xorm:"not null comment('数据源名称') VARCHAR(100)" example:"组织机构信息"`
`json:"datasource_code" xorm:"not null comment('数据源编码') VARCHAR(8)" example:"org_tree"`
`json:"datasource_detail" xorm:"default 'NULL' comment('数据源说明') VARCHAR(500)" example:"教育主管单位、教辅单位、各级各类学校机构信息"`
`json:"set_flag" xorm:"not null default 1 comment('可修改【1:是,-1:否】') INT(11)" example:"1"`
`json:"collect_flag" xorm:"not null default 1 comment('可汇集【1:是,-1:否】') INT(11)" example:"1"`
`json:"provide_type" xorm:"not null comment('提供数据范围【1:本机构,2:本机构以及下属机构,-1:不限制】') INT(11)" example:"2"`
`json:"provide_orgid" xorm:"not null comment('提供数据机构ID【-1:不限制】') index VARCHAR(36)" example:"-1"`
`json:"datastore_type" xorm:"not null comment('数据存储类型【1:DB,2:ES,3:Kafka】') INT(11)" example:"2"`
`json:"dic_id, omitempty" xorm:"default 'NULL' comment('数据字典ID') index VARCHAR(36)" example:"1C0F6832-65C6-4888-BDDE-A3373B11499D"`
`json:"delete_flag" xorm:"not null default -1 comment('删除标志【默认-1,1:删除,-1:正常】') INT(11)" example:"1"`
`json:"enable_flag" xorm:"not null default 1 comment('启用标志【默认1,1:启用,-1:禁用】') INT(11)" example:"1"` +// @Description `json:"system_id" xorm:"not null comment('数据提供系统编码') index VARCHAR(36)" example:"1C0F6832-65C6-4888-BDDE-A3373B11499D"`
`json:"datasource_name" xorm:"not null comment('数据源名称') VARCHAR(100)" example:"组织机构信息"`
`json:"datasource_code" xorm:"not null comment('数据源编码') VARCHAR(8)" example:"org_tree"`
`json:"datasource_detail" xorm:"default 'NULL' comment('数据源说明') VARCHAR(500)" example:"教育主管单位、教辅单位、各级各类学校机构信息"`
`json:"set_flag" xorm:"not null default 1 comment('可修改【1:是,-1:否】') INT(11)" example:"1"`
`json:"collect_flag" xorm:"not null default 1 comment('可汇集【1:是,-1:否】') INT(11)" example:"1"`
`json:"provide_type" xorm:"not null comment('提供数据范围【1:本机构,2:本机构以及下属机构,-1:不限制】') INT(11)" example:"2"`
`json:"provide_orgid" xorm:"not null comment('提供数据机构ID【-1:不限制】') index VARCHAR(36)" example:"-1"`
`json:"datastore_type" xorm:"not null comment('数据存储类型【1:DB,2:ES,3:Kafka】') INT(11)" example:"2"`
`json:"dic_id, omitempty" xorm:"default 'NULL' comment('数据字典ID') index VARCHAR(36)" example:"1C0F6832-65C6-4888-BDDE-A3373B11499D"`
`json:"delete_flag" xorm:"not null default -1 comment('删除标志【默认-1,1:删除,-1:正常】') INT(11)" example:"1"`
`json:"enable_flag" xorm:"not null default 1 comment('启用标志【默认1,1:启用,-1:禁用】') INT(11)" example:"1"` // @Tags datasource // @ID createDatasource // @Accept json @@ -101,7 +101,7 @@ func CreateDatasource(c *gin.Context) { // 修改数据源 godoc // @Summary 修改数据源 -// @Description `json:"system_id" xorm:"not null comment('数据提供系统ID【外键】') index VARCHAR(36)" example:"1C0F6832-65C6-4888-BDDE-A3373B11499D"`
`json:"datasource_name" xorm:"not null comment('数据源名称') VARCHAR(100)" example:"组织机构信息"`
`json:"datasource_code" xorm:"not null comment('数据源编码') VARCHAR(8)" example:"org_tree"`
`json:"datasource_detail" xorm:"default 'NULL' comment('数据源说明') VARCHAR(500)" example:"教育主管单位、教辅单位、各级各类学校机构信息"`
`json:"set_flag" xorm:"not null default 1 comment('可修改【1:是,-1:否】') INT(11)" example:"1"`
`json:"collect_flag" xorm:"not null default 1 comment('可汇集【1:是,-1:否】') INT(11)" example:"1"`
`json:"provide_type" xorm:"not null comment('提供数据范围【1:本机构,2:本机构以及下属机构,-1:不限制】') INT(11)" example:"2"`
`json:"provide_orgid" xorm:"not null comment('提供数据机构ID【-1:不限制】') index VARCHAR(36)" example:"-1"`
`json:"datastore_type" xorm:"not null comment('数据存储类型【1:DB,2:ES,3:Kafka】') INT(11)" example:"2"`
`json:"dic_id, omitempty" xorm:"default 'NULL' comment('数据字典ID') index VARCHAR(36)" example:"1C0F6832-65C6-4888-BDDE-A3373B11499D"`
`json:"delete_flag" xorm:"not null default -1 comment('删除标志【默认-1,1:删除,-1:正常】') INT(11)" example:"1"`
`json:"enable_flag" xorm:"not null default 1 comment('启用标志【默认1,1:启用,-1:禁用】') INT(11)" example:"1"` +// @Description `json:"system_id" xorm:"not null comment('数据提供系统编码') index VARCHAR(36)" example:"1C0F6832-65C6-4888-BDDE-A3373B11499D"`
`json:"datasource_name" xorm:"not null comment('数据源名称') VARCHAR(100)" example:"组织机构信息"`
`json:"datasource_code" xorm:"not null comment('数据源编码') VARCHAR(8)" example:"org_tree"`
`json:"datasource_detail" xorm:"default 'NULL' comment('数据源说明') VARCHAR(500)" example:"教育主管单位、教辅单位、各级各类学校机构信息"`
`json:"set_flag" xorm:"not null default 1 comment('可修改【1:是,-1:否】') INT(11)" example:"1"`
`json:"collect_flag" xorm:"not null default 1 comment('可汇集【1:是,-1:否】') INT(11)" example:"1"`
`json:"provide_type" xorm:"not null comment('提供数据范围【1:本机构,2:本机构以及下属机构,-1:不限制】') INT(11)" example:"2"`
`json:"provide_orgid" xorm:"not null comment('提供数据机构ID【-1:不限制】') index VARCHAR(36)" example:"-1"`
`json:"datastore_type" xorm:"not null comment('数据存储类型【1:DB,2:ES,3:Kafka】') INT(11)" example:"2"`
`json:"dic_id, omitempty" xorm:"default 'NULL' comment('数据字典ID') index VARCHAR(36)" example:"1C0F6832-65C6-4888-BDDE-A3373B11499D"`
`json:"delete_flag" xorm:"not null default -1 comment('删除标志【默认-1,1:删除,-1:正常】') INT(11)" example:"1"`
`json:"enable_flag" xorm:"not null default 1 comment('启用标志【默认1,1:启用,-1:禁用】') INT(11)" example:"1"` // @Tags datasource // @ID updateDatasource // @Accept json diff --git a/dsSupport/MyModel/MetaData/MetadataOpenAPI/MetadataOpenAPI.go b/dsSupport/MyModel/MetaData/MetadataOpenAPI/MetadataOpenAPI.go index e6f51b91..2f677f70 100644 --- a/dsSupport/MyModel/MetaData/MetadataOpenAPI/MetadataOpenAPI.go +++ b/dsSupport/MyModel/MetaData/MetadataOpenAPI/MetadataOpenAPI.go @@ -11,7 +11,7 @@ import ( // 获取元数据列表 godoc // @Summary 获取元数据列表 -// @Description `json:"datasource_id" xorm:"default ''NULL'' comment('数据源ID') index VARCHAR(36)" example:"0383FF67-CCBA-4256-891E-BAFD487547FA"`
`json:"item_name" xorm:"not null comment('数据项名称【英文】') VARCHAR(50)" example:"org_name"`
`json:"dic_id" xorm:"default ''NULL'' comment('数据字典ID') index VARCHAR(36)" example:"F38BD0DB-0142-4356-8F2B-623813FC2578"`
`json:"item_type" xorm:"default ''NULL'' comment('数据项类型【1:整数、2:浮点、3:字符、4:布尔、5:日期、6:时间、7:日期+时间】') VARCHAR(50)" example:"string"`
`json:"item_length" xorm:"default NULL comment('数据最大长度【UTF-8 字符长度】') INT(11)" example:"36"`
`json:"item_pattern" xorm:"default 'NULL' comment('数据项模式') VARCHAR(255)" example:""`
`json:"item_info" xorm:"not null comment('数据项说明') VARCHAR(50)" example:"我是数据项说明"`
`json:"check_name" xorm:"not null default -1 comment('是否检测名称【1:是,-1:否】') INT(11)" example:"1"`
`json:"check_dic" xorm:"not null default -1 comment('是否检测字典') INT(11)" example:"1"`
`json:"check_type" xorm:"not null default -1 comment('是否检测类型') INT(11)" example:"1"`
`json:"check_pattern" xorm:"not null default -1 comment('是否检测模式') INT(11)" example:"1"`
`json:"check_exist" xorm:"not null default -1 comment('是否检测必填') INT(11)" example:"1"`
`json:"delete_flag" xorm:"not null default -1 comment('删除标志【默认-1,1:删除,-1:正常】') INT(11)" example:"1"`
`json:"enable_flag" xorm:"not null default 1 comment('启用标志【默认1,1:启用,-1:禁用】') INT(11)" example:"1"`
`json:"page" example:"1"` +// @Description `json:"datasource_id" xorm:"default ''NULL'' comment('数据源编码') index VARCHAR(36)" example:"0383FF67-CCBA-4256-891E-BAFD487547FA"`
`json:"item_name" xorm:"not null comment('数据项名称【英文】') VARCHAR(50)" example:"org_name"`
`json:"dic_id" xorm:"default ''NULL'' comment('数据字典ID') index VARCHAR(36)" example:"F38BD0DB-0142-4356-8F2B-623813FC2578"`
`json:"item_type" xorm:"default ''NULL'' comment('数据项类型【1:整数、2:浮点、3:字符、4:布尔、5:日期、6:时间、7:日期+时间】') VARCHAR(50)" example:"string"`
`json:"item_length" xorm:"default NULL comment('数据最大长度【UTF-8 字符长度】') INT(11)" example:"36"`
`json:"item_pattern" xorm:"default 'NULL' comment('数据项模式') VARCHAR(255)" example:""`
`json:"item_info" xorm:"not null comment('数据项说明') VARCHAR(50)" example:"我是数据项说明"`
`json:"check_name" xorm:"not null default -1 comment('是否检测名称【1:是,-1:否】') INT(11)" example:"1"`
`json:"check_dic" xorm:"not null default -1 comment('是否检测字典') INT(11)" example:"1"`
`json:"check_type" xorm:"not null default -1 comment('是否检测类型') INT(11)" example:"1"`
`json:"check_pattern" xorm:"not null default -1 comment('是否检测模式') INT(11)" example:"1"`
`json:"check_exist" xorm:"not null default -1 comment('是否检测必填') INT(11)" example:"1"`
`json:"delete_flag" xorm:"not null default -1 comment('删除标志【默认-1,1:删除,-1:正常】') INT(11)" example:"1"`
`json:"enable_flag" xorm:"not null default 1 comment('启用标志【默认1,1:启用,-1:禁用】') INT(11)" example:"1"`
`json:"page" example:"1"` // @Tags metadata // @ID readMetadata // @Accept json @@ -56,7 +56,7 @@ func ReadMetadata(c *gin.Context) { // 创建元数据 godoc // @Summary 创建元数据 -// @Description `json:"datasource_id" xorm:"default ''NULL'' comment('数据源ID') index VARCHAR(36)" example:"0383FF67-CCBA-4256-891E-BAFD487547FA"`
`json:"item_name" xorm:"not null comment('数据项名称【英文】') VARCHAR(50)" example:"org_name"`
`json:"dic_id" xorm:"default ''NULL'' comment('数据字典ID') index VARCHAR(36)" example:"F38BD0DB-0142-4356-8F2B-623813FC2578"`
`json:"item_type" xorm:"default ''NULL'' comment('数据项类型【1:整数、2:浮点、3:字符、4:布尔、5:日期、6:时间、7:日期+时间】') VARCHAR(50)" example:"string"`
`json:"item_length" xorm:"default NULL comment('数据最大长度【UTF-8 字符长度】') INT(11)" example:"36"`
`json:"item_pattern" xorm:"default 'NULL' comment('数据项模式') VARCHAR(255)" example:""`
`json:"item_info" xorm:"not null comment('数据项说明') VARCHAR(50)" example:"我是数据项说明"`
`json:"check_name" xorm:"not null default -1 comment('是否检测名称【1:是,-1:否】') INT(11)" example:"1"`
`json:"check_dic" xorm:"not null default -1 comment('是否检测字典') INT(11)" example:"1"`
`json:"check_type" xorm:"not null default -1 comment('是否检测类型') INT(11)" example:"1"`
`json:"check_pattern" xorm:"not null default -1 comment('是否检测模式') INT(11)" example:"1"`
`json:"check_exist" xorm:"not null default -1 comment('是否检测必填') INT(11)" example:"1"`
`json:"delete_flag" xorm:"not null default -1 comment('删除标志【默认-1,1:删除,-1:正常】') INT(11)" example:"1"`
`json:"enable_flag" xorm:"not null default 1 comment('启用标志【默认1,1:启用,-1:禁用】') INT(11)" example:"1"` +// @Description `json:"datasource_id" xorm:"default ''NULL'' comment('数据源编码') index VARCHAR(36)" example:"0383FF67-CCBA-4256-891E-BAFD487547FA"`
`json:"item_name" xorm:"not null comment('数据项名称【英文】') VARCHAR(50)" example:"org_name"`
`json:"dic_id" xorm:"default ''NULL'' comment('数据字典ID') index VARCHAR(36)" example:"F38BD0DB-0142-4356-8F2B-623813FC2578"`
`json:"item_type" xorm:"default ''NULL'' comment('数据项类型【1:整数、2:浮点、3:字符、4:布尔、5:日期、6:时间、7:日期+时间】') VARCHAR(50)" example:"string"`
`json:"item_length" xorm:"default NULL comment('数据最大长度【UTF-8 字符长度】') INT(11)" example:"36"`
`json:"item_pattern" xorm:"default 'NULL' comment('数据项模式') VARCHAR(255)" example:""`
`json:"item_info" xorm:"not null comment('数据项说明') VARCHAR(50)" example:"我是数据项说明"`
`json:"check_name" xorm:"not null default -1 comment('是否检测名称【1:是,-1:否】') INT(11)" example:"1"`
`json:"check_dic" xorm:"not null default -1 comment('是否检测字典') INT(11)" example:"1"`
`json:"check_type" xorm:"not null default -1 comment('是否检测类型') INT(11)" example:"1"`
`json:"check_pattern" xorm:"not null default -1 comment('是否检测模式') INT(11)" example:"1"`
`json:"check_exist" xorm:"not null default -1 comment('是否检测必填') INT(11)" example:"1"`
`json:"delete_flag" xorm:"not null default -1 comment('删除标志【默认-1,1:删除,-1:正常】') INT(11)" example:"1"`
`json:"enable_flag" xorm:"not null default 1 comment('启用标志【默认1,1:启用,-1:禁用】') INT(11)" example:"1"` // @Tags metadata // @ID createMetadata // @Accept json @@ -98,7 +98,7 @@ func CreateMetadata(c *gin.Context) { // 修改元数据 godoc // @Summary 修改元数据 -// @Description `json:"datasource_id" xorm:"default ''NULL'' comment('数据源ID') index VARCHAR(36)" example:"0383FF67-CCBA-4256-891E-BAFD487547FA"`
`json:"item_name" xorm:"not null comment('数据项名称【英文】') VARCHAR(50)" example:"org_name"`
`json:"dic_id" xorm:"default ''NULL'' comment('数据字典ID') index VARCHAR(36)" example:"F38BD0DB-0142-4356-8F2B-623813FC2578"`
`json:"item_type" xorm:"default ''NULL'' comment('数据项类型【1:整数、2:浮点、3:字符、4:布尔、5:日期、6:时间、7:日期+时间】') VARCHAR(50)" example:"string"`
`json:"item_length" xorm:"default NULL comment('数据最大长度【UTF-8 字符长度】') INT(11)" example:"36"`
`json:"item_pattern" xorm:"default 'NULL' comment('数据项模式') VARCHAR(255)" example:""`
`json:"item_info" xorm:"not null comment('数据项说明') VARCHAR(50)" example:"我是数据项说明"`
`json:"check_name" xorm:"not null default -1 comment('是否检测名称【1:是,-1:否】') INT(11)" example:"1"`
`json:"check_dic" xorm:"not null default -1 comment('是否检测字典') INT(11)" example:"1"`
`json:"check_type" xorm:"not null default -1 comment('是否检测类型') INT(11)" example:"1"`
`json:"check_pattern" xorm:"not null default -1 comment('是否检测模式') INT(11)" example:"1"`
`json:"check_exist" xorm:"not null default -1 comment('是否检测必填') INT(11)" example:"1"`
`json:"delete_flag" xorm:"not null default -1 comment('删除标志【默认-1,1:删除,-1:正常】') INT(11)" example:"1"`
`json:"enable_flag" xorm:"not null default 1 comment('启用标志【默认1,1:启用,-1:禁用】') INT(11)" example:"1"` +// @Description `json:"datasource_id" xorm:"default ''NULL'' comment('数据源编码') index VARCHAR(36)" example:"0383FF67-CCBA-4256-891E-BAFD487547FA"`
`json:"item_name" xorm:"not null comment('数据项名称【英文】') VARCHAR(50)" example:"org_name"`
`json:"dic_id" xorm:"default ''NULL'' comment('数据字典ID') index VARCHAR(36)" example:"F38BD0DB-0142-4356-8F2B-623813FC2578"`
`json:"item_type" xorm:"default ''NULL'' comment('数据项类型【1:整数、2:浮点、3:字符、4:布尔、5:日期、6:时间、7:日期+时间】') VARCHAR(50)" example:"string"`
`json:"item_length" xorm:"default NULL comment('数据最大长度【UTF-8 字符长度】') INT(11)" example:"36"`
`json:"item_pattern" xorm:"default 'NULL' comment('数据项模式') VARCHAR(255)" example:""`
`json:"item_info" xorm:"not null comment('数据项说明') VARCHAR(50)" example:"我是数据项说明"`
`json:"check_name" xorm:"not null default -1 comment('是否检测名称【1:是,-1:否】') INT(11)" example:"1"`
`json:"check_dic" xorm:"not null default -1 comment('是否检测字典') INT(11)" example:"1"`
`json:"check_type" xorm:"not null default -1 comment('是否检测类型') INT(11)" example:"1"`
`json:"check_pattern" xorm:"not null default -1 comment('是否检测模式') INT(11)" example:"1"`
`json:"check_exist" xorm:"not null default -1 comment('是否检测必填') INT(11)" example:"1"`
`json:"delete_flag" xorm:"not null default -1 comment('删除标志【默认-1,1:删除,-1:正常】') INT(11)" example:"1"`
`json:"enable_flag" xorm:"not null default 1 comment('启用标志【默认1,1:启用,-1:禁用】') INT(11)" example:"1"` // @Tags metadata // @ID updateMetadata // @Accept json