|
|
package models
|
|
|
|
|
|
import (
|
|
|
"time"
|
|
|
)
|
|
|
|
|
|
type TDataexData struct {
|
|
|
Id string `xorm:"not null pk comment('ID') VARCHAR(36)"`
|
|
|
SystemId string `xorm:"not null comment('数据提供系统ID【输入参数】') VARCHAR(36)"`
|
|
|
DatasourceId string `xorm:"not null comment('数据源ID【输入参数】') VARCHAR(36)"`
|
|
|
ProvinceId string `xorm:"default 'NULL' comment('省编码【GBT2260】') VARCHAR(6)"`
|
|
|
ProvinceName string `xorm:"default 'NULL' comment('省') VARCHAR(255)"`
|
|
|
CityId string `xorm:"default 'NULL' comment('地市编码【GBT2260】') VARCHAR(6)"`
|
|
|
CityName string `xorm:"default 'NULL' comment('地市') VARCHAR(255)"`
|
|
|
AreaId string `xorm:"default 'NULL' comment('县区编码【GBT2260】') VARCHAR(6)"`
|
|
|
AreaName string `xorm:"default 'NULL' comment('县区') VARCHAR(255)"`
|
|
|
BureauId string `xorm:"default 'NULL' comment('教育局ID') VARCHAR(36)"`
|
|
|
RegionId string `xorm:"default 'NULL' comment('大学区ID') VARCHAR(36)"`
|
|
|
MainId string `xorm:"default 'NULL' comment('主校ID') VARCHAR(36)"`
|
|
|
OrgId string `xorm:"not null comment('数据机构ID【输入参数】') VARCHAR(36)"`
|
|
|
OrgName string `xorm:"default 'NULL' comment('机构名称') VARCHAR(255)"`
|
|
|
OrgType int32 `xorm:"not null comment('机构类型') INT(11)"`
|
|
|
DeptId string `xorm:"default 'NULL' comment('部门ID') VARCHAR(36)"`
|
|
|
StageId string `xorm:"default 'NULL' comment('学段ID') VARCHAR(36)"`
|
|
|
GradeId string `xorm:"default 'NULL' comment('年级ID') VARCHAR(36)"`
|
|
|
ClassId string `xorm:"default 'NULL' comment('班级ID') VARCHAR(36)"`
|
|
|
DataId string `xorm:"not null comment('数据ID【输入参数】') VARCHAR(36)"`
|
|
|
DataContent string `xorm:"default 'NULL' comment('数据内容【Json格式输入参数】') VARCHAR"`
|
|
|
FileUri string `xorm:"default 'NULL' comment('文件地址【文件交换】') VARCHAR(500)"`
|
|
|
BeginTime time.Time `xorm:"default 'NULL' comment('数据有效开始时间') DATETIME"`
|
|
|
EndTime time.Time `xorm:"default 'NULL' comment('数据有效结束时间【默认 9999-01-01 00:00:00】') DATETIME"`
|
|
|
DelFlag int32 `xorm:"not null default -1 comment('删除标志【默认-1,1:删除,-1:正常,输入参数】') INT(11)"`
|
|
|
EnableFlag int32 `xorm:"not null default 1 comment('有效标志【默认1,1:有效,-1:无效数据】') INT(11)"`
|
|
|
}
|