package models import ( "time" ) type TImportTeacherByExcel struct { Id int64 `xorm:"not null pk autoincr INT(11)"` BatchId string `xorm:"not null comment('批次号') index index(batch_id_2) CHAR(36)"` OrgId string `xorm:"default 'NULL' comment('部门ID') CHAR(36)"` OrgName string `xorm:"default 'NULL' comment('部门名称') index(batch_id_2) VARCHAR(255)"` PersonId string `xorm:"not null comment('人员ID') CHAR(36)"` PersonName string `xorm:"not null comment('人员姓名') VARCHAR(36)"` XbId string `xorm:"not null comment('性别,1:男,2:女') CHAR(2)"` MzId string `xorm:"not null comment('民族') CHAR(2)"` ZzmmId string `xorm:"not null comment('政治面貌') CHAR(2)"` IdcardCode string `xorm:"not null comment('身份证号') index CHAR(18)"` IdcardCodeAes string `xorm:"not null comment('加密后的身份证号') index VARCHAR(255)"` XlId string `xorm:"not null comment('学历名称') CHAR(2)"` ZcId string `xorm:"not null comment('职称名称') CHAR(2)"` StageId int64 `xorm:"not null comment('学段名称') INT(11)"` SubjectId int64 `xorm:"not null comment('学科名称') INT(11)"` TeachDate time.Time `xorm:"not null comment('从教年月') DATE"` BureauId string `xorm:"not null comment('哪个单位下的数据') CHAR(36)"` UpdateTs time.Time `xorm:"not null default 'current_timestamp()' TIMESTAMP"` }