package models import ( "time" ) type TBaseTeacherLog struct { LogId string `xorm:"not null pk comment('日志主键') CHAR(36)"` PersonId string `xorm:"not null comment('教师ID') CHAR(36)"` IdentityId int32 `xorm:"not null comment('人员身份ID') INT(11)"` Xm string `xorm:"not null default '''' comment('教师姓名') VARCHAR(100)"` Xmpy string `xorm:"not null default '''' comment('教师姓名拼音') VARCHAR(100)"` Cym string `xorm:"not null default '''' comment('曾用名') VARCHAR(100)"` Xbm string `xorm:"not null default '''' comment('性别 (有字典)') CHAR(1)"` Csrq time.Time `xorm:"not null default ''1900-01-01'' 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('身份证件号') 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)"` Cjny time.Time `xorm:"not null default ''1900-01-01'' comment('从教年月') DATE"` 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('联系电话') VARCHAR(100)"` Dzxx string `xorm:"not null default '''' comment('电子信箱') VARCHAR(100)"` BUse int32 `xorm:"not null default 1 comment('是否启用 0:未启用 1:启用') TINYINT(1)"` StateId int32 `xorm:"not null default 0 comment('教师状态码') INT(11)"` BureauId string `xorm:"not null comment('所属单位(主)') CHAR(36)"` OrgId string `xorm:"not null comment('所属部门(主)') CHAR(36)"` MainSchoolId string `xorm:"not null comment('所属主校ID') CHAR(36)"` ProvinceCode string `xorm:"not null comment('所属省CODE') VARCHAR(36)"` CityCode string `xorm:"not null comment('所属市CODE') CHAR(6)"` DistrictCode string `xorm:"not null comment('所属县区CODE') CHAR(6)"` SortId int32 `xorm:"not null default 1 comment('在主部门的排序号') INT(11)"` CreateTime time.Time `xorm:"not null default ''0000-00-00 00:00:00'' comment('创建时间') TIMESTAMP"` ActionPersonId string `xorm:"not null comment('操作人员ID') CHAR(36)"` ActionIpAddress string `xorm:"not null default '''' comment('操作IP') VARCHAR(100)"` ActionTime time.Time `xorm:"not null default 'current_timestamp()' comment('操作时间') TIMESTAMP"` ActionCode string `xorm:"not null comment('操作代码') VARCHAR(255)"` }