When I use this plugin , I can't fill the data straightly into the target object . I add the isStraight into @Mapping annotation and change the _targetToSource method . I just change the implement way , not to change the content. So it has created the all previous example successfully after my test.
It makes we can straightly fill the data into the target as the field , we don't need to package the parameter as the function or bean when we are in the easy situation. The example is the the dog_example folder.
When I use this plugin , I can't fill the data straightly into the target object . I add the
isStraight
into@Mapping
annotation and change the_targetToSource
method . I just change the implement way , not to change the content. So it has created the all previous example successfully after my test.It makes we can straightly fill the data into the target as the field , we don't need to package the parameter as the function or bean when we are in the easy situation. The example is the the dog_example folder.