I'm using Doctrine for the first time (and without symfony) and I wonder if it's okay to add "classical" methods directly into the entity or if it's more correct to create another class next to it in order to manage all the other methods of this entity?
When I talk about other methods, I mean anything that is not getter and setter or Magic Methods. Like password encoding or any manipulation with the entity's properties.
Thank you in advance for your answers.