In the org.longbox.domainobjects.dto.UserDto org.longbox.domainobjects.entity.User classes the mapping between dto and entity should not be done using constructors. It should be done using the mapping classes. Dto and entity are Java Beans and should only have NoArgsConstructors.
The suggested fix is to remove all overloaded constructors for both the UserDto and User entity classes. Only use setter methods and mapping classes to map between these two objects.
In the org.longbox.domainobjects.dto.UserDto org.longbox.domainobjects.entity.User classes the mapping between dto and entity should not be done using constructors. It should be done using the mapping classes. Dto and entity are Java Beans and should only have NoArgsConstructors.
The suggested fix is to remove all overloaded constructors for both the UserDto and User entity classes. Only use setter methods and mapping classes to map between these two objects.