package models type TBaseTeacherOrg struct { Id string `xorm:"not null pk comment('主键') CHAR(36)"` PersonId string `xorm:"not null default '''' comment('人员ID') index CHAR(36)"` BureauId string `xorm:"not null default '''' comment('所在单位ID') index CHAR(36)"` OrgId string `xorm:"not null default '''' comment('所在部门ID') index CHAR(36)"` Bzszdwbz int32 `xorm:"not null default 1 comment('编制所在单位标志 -1:不是 1:是') TINYINT(1)"` BUse int32 `xorm:"not null default 1 comment('是否启用 -1:未启用 1:启用') TINYINT(1)"` ProvinceCode string `xorm:"not null default '''' comment('所在省行政区划码') CHAR(6)"` CityCode string `xorm:"not null default '''' comment('所在市行政区划码') CHAR(6)"` DistrictCode string `xorm:"not null default '''' comment('所在区行政区划码') CHAR(6)"` MainSchoolId string `xorm:"not null default '''' comment('主校ID') CHAR(36)"` SortId int32 `xorm:"not null comment('排序号(在获取信息时如果排序号大于9999,前台不显示)') INT(11)"` }