Baeldung

GameDTO contains only two fields, but the field types and names perfectly match the source. In such a case, ModelMapper handles the conversion without additional configuration:

https://www.baeldung.com/java-modelmapper

Use a converter, as outlined above.