Skip to content

Instantly share code, notes, and snippets.

@Romeh
Created September 3, 2018 13:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Romeh/7c35aa66c642e9cbdfa8e20253e9a4ed to your computer and use it in GitHub Desktop.
Save Romeh/7c35aa66c642e9cbdfa8e20253e9a4ed to your computer and use it in GitHub Desktop.
@Mapper(componentModel = "spring", unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface CustomerMapper {
CustomerDto mapCustomerToDto(Customer customer);
Customer mapeDtoToCustomer(CustomerDto customerDto);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment