package MySwagger type MetadataSwag struct { Id string `json:"id" xorm:"not null pk comment('ID') VARCHAR(36)" example:"F38BD0DB-0142-4356-8F2B-623813FC2578"` DatasourceId string `json:"datasource_id" xorm:"default ''NULL'' comment('数据源ID') index VARCHAR(36)" example:"0383FF67-CCBA-4256-891E-BAFD487547FA"` ItemName string `json:"item_name" xorm:"not null comment('数据项名称【英文】') VARCHAR(50)" example:"org_name"` DicId string `json:"dic_id" xorm:"default ''NULL'' comment('数据字典ID') index VARCHAR(36)" example:"F38BD0DB-0142-4356-8F2B-623813FC2578"` ItemType string `json:"item_type" xorm:"default ''NULL'' comment('数据项类型【1:整数、2:浮点、3:字符、4:布尔、5:日期、6:时间、7:日期+时间】') VARCHAR(50)" example:"string"` ItemLength int `json:"item_length" xorm:"default NULL comment('数据最大长度【UTF-8 字符长度】') INT(11)" example:"36"` ItemPattern string `json:"item_pattern" xorm:"default 'NULL' comment('数据项模式') VARCHAR(255)" example:""` ItemInfo string `json:"item_info" xorm:"not null comment('数据项说明') VARCHAR(50)" example:"我是数据项说明"` CheckName int `json:"check_name" xorm:"not null default -1 comment('是否检测名称【1:是,-1:否】') INT(11)" example:"1"` CheckDic int `json:"check_dic" xorm:"not null default -1 comment('是否检测字典') INT(11)" example:"1"` CheckType int `json:"check_type" xorm:"not null default -1 comment('是否检测类型') INT(11)" example:"1"` CheckPattern int `json:"check_pattern" xorm:"not null default -1 comment('是否检测模式') INT(11)" example:"1"` CheckExist int `json:"check_exist" xorm:"not null default -1 comment('是否检测必填') INT(11)" example:"1"` 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"` }