toDocument
Converts a User domain model to a UserDocument.
Receiver
The User domain model to be converted.
Return
The corresponding UserDocument representation.
Converts a User domain model to a UserDocument.
The User domain model to be converted.
The corresponding UserDocument representation.