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 Entity class must be annotated with @Entity error about it and the build fails.
I know I could just force one of my actual Room entities to fill this data object's role by adding a bunch of @Ignored fields, but that seems dumb. How can I tell it that this class is not an entity and that Room should leave it alone?
This is the class it complains about:
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;
}