title: From string to enum using mapstruct
body: <p>I want to convert String to enum using mapstruct</p>
  
  <pre><code>enum TestEnum {
     NO("no");
     String code;
  
     TestEnum(String code) {
       this.code = code
     }
  
     public String getCode() {
      return code;
     }
  }
  </code></pre>
  
  <p>I have a code that I've got from service and I want to convert this code to Enum how to do it with easier way by mapstruct</p>