package Model import ( "time" ) type TBaseOrganizationManager struct { Id int `xorm:"not null pk autoincr INT(11)"` PersonId int `xorm:"default NULL comment('人员ID') INT(11)"` OrgId int `xorm:"default NULL comment('部门ID') INT(11)"` BUse int `xorm:"default NULL comment('是否启用 0:未启用 1:启用') INT(11)"` 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)"` }