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.
dsMin/dsSso/models/t_dataex_metadata.go

28 lines
1.8 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 models
import (
"time"
)
type TDataexMetadata struct {
Id string `xorm:"not null pk comment('ID') VARCHAR(36)"`
DatasourceId string `xorm:"default ''NULL'' comment('数据源ID') index VARCHAR(36)"`
ItemName string `xorm:"not null comment('数据项名称【英文】') VARCHAR(50)"`
DicId string `xorm:"default ''NULL'' comment('数据字典ID') index VARCHAR(36)"`
ItemType string `xorm:"default ''NULL'' comment('数据项类型
【1整数、2浮点、3字符、4布尔、5日期、6时间、7日期+时间】') VARCHAR(50)"`
ItemLength int32 `xorm:"default NULL comment('数据最大长度【UTF-8 字符长度】') INT(11)"`
ItemPattern string `xorm:"default 'NULL' comment('数据项模式') VARCHAR(255)"`
ItemInfo string `xorm:"not null comment('数据项说明') VARCHAR(50)"`
CheckName int32 `xorm:"not null default -1 comment('是否检测名称【1-1否】') INT(11)"`
CheckDic int32 `xorm:"not null default -1 comment('是否检测字典') INT(11)"`
CheckType int32 `xorm:"not null default -1 comment('是否检测类型') INT(11)"`
CheckPattern int32 `xorm:"not null default -1 comment('是否检测模式') INT(11)"`
CheckExist int32 `xorm:"not null default -1 comment('是否检测必填') INT(11)"`
CreateTime time.Time `xorm:"default 'NULL' comment('建立时间') DATETIME"`
ChangeTime time.Time `xorm:"default 'NULL' comment('最近修改时间') DATETIME"`
DeleteTime time.Time `xorm:"default 'NULL' comment('删除时间') DATETIME"`
DeleteFlag int32 `xorm:"not null default -1 comment('删除标志【默认-11删除-1正常】') INT(11)"`
EnableFlag int32 `xorm:"not null default 1 comment('启用标志【默认11启用-1禁用】') INT(11)"`
}