|
|
@ -15,7 +15,7 @@ type TBaseTeacher struct {
|
|
|
|
Mzm string `xorm:"not null default '''' comment('民族 (有字典)') CHAR(2)"`
|
|
|
|
Mzm string `xorm:"not null default '''' comment('民族 (有字典)') CHAR(2)"`
|
|
|
|
Zzmmm string `xorm:"not null default '''' comment('政治面貌 (有字典)') CHAR(2)"`
|
|
|
|
Zzmmm string `xorm:"not null default '''' comment('政治面貌 (有字典)') CHAR(2)"`
|
|
|
|
Sfzjlxm string `xorm:"not null default '''' comment('身份证件类型代码 (有字典)') CHAR(1)"`
|
|
|
|
Sfzjlxm string `xorm:"not null default '''' comment('身份证件类型代码 (有字典)') CHAR(1)"`
|
|
|
|
Sfzjh string `xorm:"not null default '''' comment('身份证件号') index(person_id) index VARCHAR(100)"`
|
|
|
|
Sfzjh string `xorm:"not null default '''' comment('身份证件号') index(person_id) index(sfzjh) VARCHAR(100)"`
|
|
|
|
Xlm string `xorm:"not null default '''' comment('学历 (有字典)') CHAR(2)"`
|
|
|
|
Xlm string `xorm:"not null default '''' comment('学历 (有字典)') CHAR(2)"`
|
|
|
|
Xwm string `xorm:"not null default '''' comment('学位 (有字典)') CHAR(1)"`
|
|
|
|
Xwm string `xorm:"not null default '''' comment('学位 (有字典)') CHAR(1)"`
|
|
|
|
Zcm string `xorm:"not null default '''' comment('职称 (有字典)') CHAR(1)"`
|
|
|
|
Zcm string `xorm:"not null default '''' comment('职称 (有字典)') CHAR(1)"`
|
|
|
@ -24,9 +24,9 @@ type TBaseTeacher struct {
|
|
|
|
StageId string `xorm:"not null default '''' comment('主要任课学段 (有字典)') index CHAR(1)"`
|
|
|
|
StageId string `xorm:"not null default '''' comment('主要任课学段 (有字典)') index CHAR(1)"`
|
|
|
|
SubjectId string `xorm:"not null default '''' comment('主要任课学科 (有字典)') index CHAR(2)"`
|
|
|
|
SubjectId string `xorm:"not null default '''' comment('主要任课学科 (有字典)') index CHAR(2)"`
|
|
|
|
Gwzym string `xorm:"not null default '''' comment('岗位 (有字典)') CHAR(2)"`
|
|
|
|
Gwzym string `xorm:"not null default '''' comment('岗位 (有字典)') CHAR(2)"`
|
|
|
|
Lxdh string `xorm:"not null default '''' comment('联系电话') index index(person_id_2) VARCHAR(100)"`
|
|
|
|
Lxdh string `xorm:"not null default '''' comment('联系电话') index(lxdh) index(person_id_2) VARCHAR(100)"`
|
|
|
|
Dzxx string `xorm:"not null default '''' comment('电子信箱') index index(person_id_3) VARCHAR(100)"`
|
|
|
|
Dzxx string `xorm:"not null default '''' comment('电子信箱') index(dzxx) index(person_id_3) VARCHAR(100)"`
|
|
|
|
BUse int32 `xorm:"not null default 1 comment('是否启用 0:未启用 1:启用') index(bureau_id) index(org_id) index(person_id) index(person_id_2) index(person_id_3) TINYINT(1)"`
|
|
|
|
BUse int32 `xorm:"not null default 1 comment('是否启用 0:未启用 1:启用') index(bureau_id) index(dzxx) index(lxdh) index(org_id) index(person_id) index(person_id_2) index(person_id_3) index(sfzjh) TINYINT(1)"`
|
|
|
|
StateId int32 `xorm:"not null default 0 comment('教师状态码') INT(11)"`
|
|
|
|
StateId int32 `xorm:"not null default 0 comment('教师状态码') INT(11)"`
|
|
|
|
BureauId string `xorm:"not null comment('所属单位(主)') index(bureau_id) CHAR(36)"`
|
|
|
|
BureauId string `xorm:"not null comment('所属单位(主)') index(bureau_id) CHAR(36)"`
|
|
|
|
OrgId string `xorm:"not null comment('所属部门(主)') index(org_id) CHAR(36)"`
|
|
|
|
OrgId string `xorm:"not null comment('所属部门(主)') index(org_id) CHAR(36)"`
|
|
|
@ -35,4 +35,5 @@ type TBaseTeacher struct {
|
|
|
|
CityCode string `xorm:"not null comment('所属市CODE') CHAR(6)"`
|
|
|
|
CityCode string `xorm:"not null comment('所属市CODE') CHAR(6)"`
|
|
|
|
DistrictCode string `xorm:"not null comment('所属县区CODE') CHAR(6)"`
|
|
|
|
DistrictCode string `xorm:"not null comment('所属县区CODE') CHAR(6)"`
|
|
|
|
SortId int32 `xorm:"not null default 1 comment('在主部门的排序号') INT(11)"`
|
|
|
|
SortId int32 `xorm:"not null default 1 comment('在主部门的排序号') INT(11)"`
|
|
|
|
|
|
|
|
CreateTime time.Time `xorm:"not null default 'current_timestamp()' comment('创建时间') TIMESTAMP"`
|
|
|
|
}
|
|
|
|
}
|
|
|
|