Açıklaması şöyle
ÖrnekThe @MapMapping annotation has several methods to configure our Map transformation and the good thing is, as always, we don’t need to provide any implementation. Mapstruct will write that for us.
Şöyle yaparız
@Mapperpublic interface SourceTargetMapper {@Mapping(valueDateFormat = "dd.MM.yyyy")Map<String,String> longDateMapToStringStringMap(Map<Long,Date> source);}
Hiç yorum yok:
Yorum Gönder