package Model import ( "time" ) type TBaseClass struct { ClassId int `xorm:"not null pk autoincr comment('班级ID') INT(11)"` Bh int `xorm:"default NULL comment('班号') INT(11)"` ClassName string `xorm:"default 'NULL' comment('班级名称') VARCHAR(100)"` ClassAlias string `xorm:"default 'NULL' comment('班级别名') VARCHAR(100)"` Jbny time.Time `xorm:"default 'NULL' comment('建班年月') DATE"` SchoolingLength int `xorm:"default NULL INT(11)"` StageId int `xorm:"default NULL comment('所属学段ID') INT(11)"` TeacherId int `xorm:"default NULL comment('班主任ID') INT(11)"` OrgId int `xorm:"default 0 comment('所在部门(除职业和高等外都是0)') INT(11)"` BureauId int `xorm:"default NULL comment('所在学校ID') INT(11)"` 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 'NULL' 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)"` }