package models import ( "time" ) type TImportStudentByExcel struct { Id int64 `xorm:"not null pk autoincr INT(11)"` BatchId string `xorm:"not null comment('批次号') index index(batch_id_2) CHAR(36)"` StageId int64 `xorm:"not null comment('学段') INT(11)"` ClassId string `xorm:"default 'NULL' comment('班级ID') CHAR(36)"` ClassName string `xorm:"not null comment('班级名称') index(batch_id_2) VARCHAR(255)"` PersonId string `xorm:"not null 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('加密后的身份证号') VARCHAR(255)"` Xjh string `xorm:"not null comment('学籍号') VARCHAR(128)"` Xjfh string `xorm:"not null comment('学籍辅号') VARCHAR(128)"` Source int64 `xorm:"not null comment('学生来源') INT(11)"` BureauId string `xorm:"not null comment('哪个单位下的数据') CHAR(36)"` UpdateTs time.Time `xorm:"not null default 'current_timestamp()' comment('时间戳') TIMESTAMP"` }