package models import ( "time" ) type TBaseTeacherImportExcel struct { Id string `xorm:"not null pk default ''0'' comment('ID') CHAR(36)"` Xm string `xorm:"not null default '''' comment('教师姓名') VARCHAR(100)"` Xbm string `xorm:"not null comment('性别码') CHAR(1)"` Csrq time.Time `xorm:"not null comment('出生日期') DATE"` Mzm 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)"` Sfzjh string `xorm:"not null default '''' comment('身份证件号') index index(sfzjlxm) VARCHAR(100)"` Xlm string `xorm:"not null default '''' comment('学历码') CHAR(2)"` Xwm string `xorm:"not null default '''' comment('学位码') CHAR(1)"` Zcm string `xorm:"not null default '''' comment('职称码') CHAR(1)"` Bzlbm string `xorm:"not null default '''' comment('编制类型码') CHAR(1)"` StageId string `xorm:"not null default '''' comment('主要任课学段') CHAR(1)"` SubjectId 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 VARCHAR(100)"` Dzxx string `xorm:"not null default '''' comment('电子信箱') index VARCHAR(100)"` OrgId string `xorm:"not null default '''' comment('部门ID') index(org_id) CHAR(36)"` OrgName string `xorm:"not null default '''' comment('部门名称') index(org_name) VARCHAR(100)"` BatchId string `xorm:"not null default '''' comment('批次ID') index index(batch_id_2) index(org_id) index(org_name) index index(sfzjlxm) CHAR(36)"` RowNumber int32 `xorm:"not null default 0 comment('对应的EXCEL是第几行的数据') INT(11)"` InsertOrUpdate int32 `xorm:"not null default 1 comment('是新增加还是修改,1:新增,2:修改') index(batch_id_2) INT(11)"` PersonId string `xorm:"not null default '''' comment('人员ID') CHAR(36)"` }