Converts a User domain model to a UserDTO.
The User domain model to be converted.
The corresponding UserDTO with mapped fields.