package Model import ( "time" ) type TBasePersonOrg struct { Id int `xorm:"not null pk autoincr INT(11)"` PersonId int `xorm:"default NULL comment('人员ID') INT(11)"` BureauId int `xorm:"default NULL comment('所在单位ID') INT(11)"` OrgId int `xorm:"default NULL comment('所在部门ID') INT(11)"` Bzszdwbz int `xorm:"default NULL comment('编制所在单位标志 0:不是 1:是') 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)"` }