title: Nested list mapping using MapStruct
body: <p>How can I do the bean mapping using MapStruct for the below scenario.</p>
  
  <pre><code>class Source {
  private String sourceId;
  private List&lt;Course&gt; courses;  //always returns only one course
  }
  
  class Course {
  private String courseName;
  private List&lt;Student&gt; students; 
  }
  
  class Student {
  private String studentName;
  }
  
  class Target {
  private String targetId;
  private String subjectName;
  private List&lt;Member&gt; members;
  }
  
  class Member {
  private String memberName;
  }
  </code></pre>
  
  <p>Now I want to map sourceId to targetId, courseName to subjectName, studentName to memberName(list to list).</p>