title: Why am I getting "Entity class must be annotated with @Entity" error and how can I ignore it?
body: <p>I have a Lombok-annotated POJO that I'm using for other parts of the app and is not intended for Room.  But when I try to build my project I get the <code>Entity class must be annotated with @Entity</code> error about it and the build fails.</p>
  
  <p>I know I could just force one of my actual Room entities to fill this data object's role by adding a bunch of <code>@Ignore</code>d fields, but that seems dumb. How can I tell it that this class is not an entity and that Room should leave it alone?</p>
  
  <p>This is the class it complains about:</p>
  
  <pre><code>import androidx.annotation.DrawableRes;
  
  import lombok.Builder;
  import lombok.Value;
  
  @Value
  @Builder
  public class MyPOJO {
      final String matchQuality;
      final String identifier;
      final String fitDate;
      @DrawableRes
      final int image;
  }
  </code></pre>