How to convert enum to POJO using mapstruct?
<p>How can I convert enum to POJO using mapstruct and without custom implementation?</p>

<p>e.g.</p>

<pre><code>enum Type {
  T1, T2;

  private String description;

  private Type(String description) {
      this.description = description;
  }

  public String getDescription() { return this.description; }
}
</code></pre>

<p>to POJO like</p>

<pre><code>class TypeDto {
   private Type code;
   private String description;
}
</code></pre>

<p>FYI,
I use MapStruct 1.1.0.Final.</p>