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.

17 lines
1.6 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

package MySwagger
type DatasourceSwag struct {
SystemId string `json:"system_id" xorm:"not null comment('数据提供系统ID【外键】') index VARCHAR(36)"`
DatasourceName string `json:"datasource_name" xorm:"not null comment('数据源名称') VARCHAR(100)"`
DatasourceCode string `json:"datasource_code" xorm:"not null comment('数据源编码') VARCHAR(8)"`
DatasourceDetail string `json:"datasource_detail" xorm:"default 'NULL' comment('数据源说明') VARCHAR(500)"`
SetFlag int `json:"set_flag" xorm:"not null default 1 comment('可修改【1-1否】') INT(11)"`
CollectFlag int `json:"collect_flag" xorm:"not null default 1 comment('可汇集【1-1否】') INT(11)"`
ProvideType int `json:"provide_type" xorm:"not null comment('提供数据范围【1本机构2本机构以及下属机构-1不限制】') INT(11)"`
ProvideOrgid string `json:"provide_orgid" xorm:"not null comment('提供数据机构ID【-1不限制】') index VARCHAR(36)"`
DatastoreType int `json:"datastore_type" xorm:"not null comment('数据存储类型【1DB2ES3Kafka】') INT(11)"`
DicId string `json:"dic_id, omitempty" xorm:"default 'NULL' comment('数据字典ID') index VARCHAR(36)"`
DeleteFlag int `json:"delete_flag" xorm:"not null default -1 comment('删除标志【默认-11删除-1正常】') INT(11)"`
EnableFlag int `json:"enable_flag" xorm:"not null default 1 comment('启用标志【默认11启用-1禁用】') INT(11)"`
Page int `json:"page" example:"1"`
}