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 TDataexOrgtree struct {
Id string ` json:"id" xorm:"not null pk comment('ID【根节点默认为-1】') VARCHAR(36)" `
OrgName string ` json:"org_name" xorm:"not null comment('机构名称') VARCHAR(100)" `
OrgType int ` json:"org_type" xorm:"not null comment('机构类型【1: 教育局、2: 学校、3: 教辅单位、4: 大学区、5: 部门、6、主校, 7、学段、8: 年级、9: 班级】') INT(11)" `
SchoolType string ` json:"school_type" xorm:"default '''' comment('学校办学类别
【111: 幼儿园
211: 小学
218: 小学教学点
311: 初级中学
312: 九年一贯制学校
321: 职业初中
341: 完全中学
342: 高级中学
345: 十二年一贯制学校
361: 中等职业学校
365: 职业高中学校
411: 大学
415: 高等职业学校
426: 广播电视大学
514: 特殊教育学校
933: 其他培训机构】') VARCHAR(3)" `
ParentId string ` json:"parent_id" xorm:"not null default ''NULL'' comment('父节点ID') VARCHAR(36)" `
CatId string ` json:"cat_id" xorm:"default 'NULL' comment('层级ID【4位数字一组、右侧多级累加】') VARCHAR(100)" `
ProvinceId string ` json:"province_id" xorm:"default 'NULL' comment('省编码') VARCHAR(6)" `
CityId string ` json:"city_id" xorm:"default 'NULL' comment('地市编码') VARCHAR(6)" `
AreaId string ` json:"area_id" xorm:"default 'NULL' comment('县区编码') VARCHAR(6)" `
LinksystemId string ` json:"linksystem_id" xorm:"default 'NULL' comment('源业务系统') VARCHAR(36)" `
LinkId string ` json:"link_id" xorm:"default 'NULL' comment('业务系统机构原ID') VARCHAR(36)" `
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)" `
}