Default builder for entities?

I need some help with my entities in CakePhp 3.
The idea is to set some parameters to a new entitie during the init phase. Maybe with a builder ( function _setPrivateKey( ) ).

I really don’t understand how can I do that.

PS: if something don’t deal with the forum’s rules, please excuse me.