package models import ( "time" ) type TBaseStudentImportExcel struct { Id string `xorm:"not null pk default ''0'' comment('ID') CHAR(36)"` BureauId string `xorm:"not null comment('单位ID') CHAR(36)"` StageId string `xorm:"not null comment('学部ID') CHAR(1)"` Rxnf int32 `xorm:"not null comment('入学年份') INT(11)"` Bh int32 `xorm:"not null comment('班号') INT(11)"` ClassId string `xorm:"not null comment('班级号') index(class_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(sfzjh) VARCHAR(100)"` Dszybz int32 `xorm:"not null comment('独生子女') INT(11)"` Sqznbz int32 `xorm:"not null comment('随迁子女') INT(11)"` Jcwgrysqznbz int32 `xorm:"not null comment('进城务工人员子女') INT(11)"` Gebz int32 `xorm:"not null comment('孤儿') INT(11)"` Lsetbz int32 `xorm:"not null comment('留守儿童') INT(11)"` Cjbz int32 `xorm:"not null comment('残疾儿童') INT(11)"` BatchId string `xorm:"not null comment('批次ID') index(class_id) index(sfzjh) CHAR(36)"` RowNumber int32 `xorm:"not null default 0 comment('对应的EXCEL是第几行的数据') INT(11)"` PersonId string `xorm:"default 'NULL' comment('人员ID') CHAR(36)"` }