I like the changes you just added to accommodate this, but I still think these should be moved to the AbstractEntity.
My reasoning is that every entity will be mapping these on unserialize and serialize; I don't see any exception to this. When creating a record, the entity will still be mapping 'recid' and 'modid', they'll just be null.