Thinking about entity classes, what could I do to keep my source code with a few number of lines of code, when the entity starts to getting bigger?
The entity in this case have attributes, methods (already optimized to be small), lazy-loading code for reference to another objects, and repository objects to allow lazy-loading.
I'm not thinking about creating a class for the logic executed in this entity, because it seems to be breaking OO principles.
Actually, I have an entity with 15 attributes, and nearly 200 lines of code. Is splitting the class into two entities the only thing do to here? What else could be done here?