package models import ( "time" ) type TDataexData struct { Id string `json:"id" xorm:"not null pk comment('ID') VARCHAR(36)"` SystemId string `json:"system_id" xorm:"not null comment('数据提供系统ID【输入参数】') VARCHAR(36)"` DatasourceId string `json:"datasource_id" xorm:"not null comment('数据源ID【输入参数】') VARCHAR(36)"` ProvinceId string `json:"province_id" xorm:"default 'NULL' comment('省编码【GBT2260】') VARCHAR(6)"` ProvinceName string `json:"province_name" xorm:"default 'NULL' comment('省') VARCHAR(255)"` CityId string `json:"city_id" xorm:"default 'NULL' comment('地市编码【GBT2260】') VARCHAR(6)"` CityName string `json:"city_name" xorm:"default 'NULL' comment('地市') VARCHAR(255)"` AreaId string `json:"area_id" xorm:"default 'NULL' comment('县区编码【GBT2260】') VARCHAR(6)"` AreaName string `json:"area_name" xorm:"default 'NULL' comment('县区') VARCHAR(255)"` BureauId string `json:"bureau_id" xorm:"default 'NULL' comment('教育局ID') VARCHAR(36)"` RegionId string `json:"region_id" xorm:"default 'NULL' comment('大学区ID') VARCHAR(36)"` MainId string `json:"main_id" xorm:"default 'NULL' comment('主校ID') VARCHAR(36)"` OrgId string `json:"org_id" xorm:"not null comment('数据机构ID【输入参数】') VARCHAR(36)"` OrgName string `json:"org_name" xorm:"default 'NULL' comment('机构名称') VARCHAR(255)"` OrgType int `json:"org_type" xorm:"not null comment('机构类型') INT(11)"` DeptId string `json:"dept_id" xorm:"default 'NULL' comment('部门ID') VARCHAR(36)"` StageId string `json:"stage_id" xorm:"default 'NULL' comment('学段ID') VARCHAR(36)"` GradeId string `json:"grade_id" xorm:"default 'NULL' comment('年级ID') VARCHAR(36)"` ClassId string `json:"class_id" xorm:"default 'NULL' comment('班级ID') VARCHAR(36)"` DataId string `json:"data_id" xorm:"not null comment('数据ID【输入参数】') VARCHAR(36)"` DataContent string `json:"data_content" xorm:"default 'NULL' comment('数据内容【Json格式输入参数】') LONGTEXT"` FileUri string `json:"file_uri" xorm:"default 'NULL' comment('文件地址【文件交换】') VARCHAR(500)"` BeginTime time.Time `json:"begin_time" xorm:"default 'NULL' comment('数据有效开始时间') DATETIME"` EndTime time.Time `json:"end_time" xorm:"default 'NULL' comment('数据有效结束时间【默认 9999-01-01 00:00:00】') DATETIME"` DelFlag int `json:"del_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)"` }