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 ` xorm:"not null pk comment('ID【根节点默认为-1】') VARCHAR(36)" `
OrgName string ` xorm:"not null comment('机构名称') VARCHAR(100)" `
OrgType int32 ` xorm:"not null comment('机构类型【1: 教育局、2: 学校、3: 教辅单位、4: 大学区、5: 部门、6、主校, 7、学段、8: 年级、9: 班级】') INT(11)" `
ParentId string ` xorm:"not null default ''NULL'' comment('父节点ID') VARCHAR(36)" `
CatId string ` xorm:"default 'NULL' comment('层级ID【4位数字一组、右侧多级累加】') VARCHAR(100)" `
ProvinceId string ` xorm:"default 'NULL' comment('省编码') VARCHAR(6)" `
CityId string ` xorm:"default 'NULL' comment('地市编码') VARCHAR(6)" `
AreaId string ` xorm:"default 'NULL' comment('县区编码') VARCHAR(6)" `
LinksystemId string ` xorm:"default 'NULL' comment('源业务系统') VARCHAR(36)" `
LinkId string ` xorm:"default 'NULL' comment('业务系统机构原ID') VARCHAR(36)" `
CreateTime time . Time ` xorm:"default 'NULL' comment('建立时间') DATETIME" `
ChangeTime time . Time ` xorm:"default 'NULL' comment('最近修改时间') DATETIME" `
DeleteTime time . Time ` xorm:"default 'NULL' comment('删除时间') DATETIME" `
DeleteFlag 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)" `
}