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.
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 ` json:"id" xorm:"not null pk comment('查询ID') VARCHAR(36)" `
QueryName string ` json:"query_name" xorm:"not null comment('查询名称') VARCHAR(50)" `
QueryCode string ` json:"query_code" xorm:"not null comment('查询编码') VARCHAR(50)" `
QuerySql string ` json:"query_sql" xorm:"not null comment('查询SQL') VARCHAR(4000)" `
JoinItem string ` json:"join_item" xorm:"default 'NULL' comment('关联查询字段名称') VARCHAR(255)" `
SystemId string ` json:"system_id" xorm:"not null comment('接入系统ID') index VARCHAR(36)" `
DatasourceId string ` json:"datasource_id" xorm:"default 'NULL' comment('数据源ID【暂不使用, 目前不支持多个系统使用一个sql查询】') index VARCHAR(36)" `
PublicFlag int ` json:"public_flag" xorm:"not null comment('数据公开标志【1: 公开, -1: 保密】') INT(255)" `
CreateTime time . Time ` json:"create_time" xorm:"default 'NULL' created comment('建立时间') DATETIME" `
ChangeTime time . Time ` json:"change_time" xorm:"default 'NULL' updated comment('最近修改时间') DATETIME" `
DeleteTime time . Time ` json:"delete_time" xorm:"default 'NULL' deleted comment('删除时间') DATETIME" `
DeleteFlag int ` json:"delete_flag" xorm:"not null default -1 comment('删除标志【默认-1, 1: 删除, -1: 正常】') INT(11)" `
EnableFlag int ` json:"enable_flag" xorm:"not null default 1 comment('启用标志【默认1, 1: 启用, -1: 禁用】') INT(11)" `
}