destination property from multiple source fields

62 views
Skip to first unread message

Ivo Anastácio

unread,
Oct 3, 2014, 4:03:52 AM10/3/14
to model...@googlegroups.com
Hi,

Is it possible to create populate a destination property based on multiple source properties, like in the example below?

public class SourceClass
{
  private int year;
  private int month;
  private int day;
}

public class DestinationClass
{
  private LocalDate date;
}

thanks,
Ivo

Akshay Bhasin

unread,
Nov 29, 2017, 5:25:57 AM11/29/17
to modelmapper
+1

Chun Han Hsiao

unread,
Dec 12, 2017, 4:56:53 AM12/12/17
to modelmapper
Hi Ivo,

I just push an unit test for merge source properties into a destination property demo. Please take a look.

Regards,
Chun Han

Ivo Anastácio於 2014年10月3日星期五 UTC+8下午4時03分52秒寫道:
Reply all
Reply to author
Forward
0 new messages