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/dsBaseRpc/models/t_report_sqlquery.go

21 lines
1.1 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 TReportSqlquery struct {
Id string `xorm:"not null pk comment('查询ID') VARCHAR(36)"`
QueryName string `xorm:"not null comment('查询名称') VARCHAR(50)"`
QueryCode string `xorm:"not null comment('查询编码') VARCHAR(50)"`
QuerySql string `xorm:"not null comment('查询SQL') VARCHAR(4000)"`
JoinItem string `xorm:"default 'NULL' comment('关联查询字段名称') VARCHAR(255)"`
SystemId string `xorm:"not null comment('接入系统ID') index VARCHAR(36)"`
DatasourceId string `xorm:"not null comment('数据源ID') index VARCHAR(36)"`
PublicFlag int32 `xorm:"not null comment('数据公开标志【1公开-1保密】') INT(255)"`
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)"`
}