package Model import ( "time" ) type TBaseRolePerson struct { Id int `xorm:"not null pk autoincr INT(11)"` RoleId int `xorm:"default NULL comment('角色ID') INT(11)"` PersonId int `xorm:"default NULL comment('人员ID') INT(11)"` IdentityId int `xorm:"default NULL comment('身份ID') 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)"` }