I have a question,
I am migrating from MVC to hexagonal architecture and DDD architecture in a laravel project.
I understand that a value object represents an attribute of table X but I have a problem, I have a table with 60 columns, would it have 60 value objects? That same table in the laravel controller has a join with 20 separate tables, the columns of those 20 tables are also value objects?
and a question, for example I ask for a records of the same table by the id, when I get the result and I must create the model, should I instantiate the 60 value objects?
example
$users = $this->user->find($id);
$user = new User(
new UserId($users->id),
value object 2,
value object 3.... to 60 value objects
);