package Model import ( "time" ) type TBasePerson struct { TeacherId int `xorm:"not null pk comment('教师ID') INT(11)"` Xm string `xorm:"default '''' comment('教师姓名') VARCHAR(100)"` Xmpy string `xorm:"default 'NULL' comment('教师姓名拼音') VARCHAR(100)"` Cym string `xorm:"default 'NULL' comment('曾用名') VARCHAR(100)"` Xbm string `xorm:"default '''' comment('性别 有字典') CHAR(1)"` Csrq time.Time `xorm:"default 'NULL' comment('出生日期') DATE"` Mzm string `xorm:"default '''' comment('民族 有字典') CHAR(2)"` Zzmmm string `xorm:"default '''' comment('政治面貌 有字典') CHAR(2)"` Sfzjlxm string `xorm:"default '''' comment('身份证件类型代码 有字典') CHAR(1)"` Sfzjh string `xorm:"default 'NULL' comment('身份证件号') VARCHAR(100)"` Xlm string `xorm:"default '''' comment('学历 有字典') CHAR(2)"` Xwm string `xorm:"default '''' comment('学位 有字典') CHAR(1)"` Zcm string `xorm:"default '''' comment('职称 有字典') CHAR(1)"` Bzlbm string `xorm:"default '''' comment('编制 有字典') CHAR(1)"` Cjny time.Time `xorm:"default 'NULL' comment('从教年月') DATE"` Zyrkxd string `xorm:"default '''' comment('主要任课学段 有字典') CHAR(1)"` Zyrkxk string `xorm:"default '''' comment('主要任课学科 有字典') CHAR(2)"` Gwzym string `xorm:"default '''' comment('岗位 有字典') CHAR(2)"` Lxdh string `xorm:"default 'NULL' comment('联系电话') VARCHAR(100)"` Daxx string `xorm:"default 'NULL' comment('电子信箱') VARCHAR(100)"` BUse int `xorm:"default NULL comment('是否启用 0:未启用 1:启用') INT(11)"` ProvinceId string `xorm:"default 'NULL' comment('所在省行政区划码') CHAR(6)"` CityId string `xorm:"default 'NULL' comment('所在市行政区划码') CHAR(6)"` DistrictId string `xorm:"default '''' comment('所在区行政区划码') CHAR(6)"` CreateTime time.Time `xorm:"default 'NULL' comment('创建时间') DATETIME"` CreatePerson int `xorm:"default NULL comment('创建人ID') INT(11)"` LastUpdatedTime time.Time `xorm:"default 'current_timestamp()' comment('最后修改时间') TIMESTAMP"` LastUpdatedPerson int `xorm:"default NULL comment('最后修改人ID') INT(11)"` }