entity: set private properties