toDocument

Converts a User domain model to a UserDocument.

Receiver

The User domain model to be converted.

Return

The corresponding UserDocument representation.