title: How to ignore a filed of Entity with Room
body: <p>I have a data class that I created an <code>Entity</code> from that for my database.</p>
  
  <p>this is my data class:</p>
  
  <pre><code>@Entity
  @Parcelize
  data class Tapligh(
  
      @PrimaryKey(autoGenerate = true)
      var id: Long,
  
      @SerializedName("title") var title: String?,
      @SerializedName("type") var type: Int?,
      @SerializedName("os") var os: Int?,
      @SerializedName("logo") var logo: String?,
      @SerializedName("template") var template: String?,
      @SerializedName("action") var action: String?,
      @SerializedName("date") var date: String?,
      @Embedded
      @SerializedName("videos") var videos: Videos?,
  
  ) : Parcelable {
  
      fun getTaplighType(): Int {
  
          return when (this.type) {
  
              0 -&gt; TaplighType.IMAGE.type
              1 -&gt; TaplighType.VIDEO.type
              else -&gt; TaplighType.NATIVE.type
          }
      }
  }
  
  @Parcelize
  data class Videos(
  
      @SerializedName("land") var land: String?,
      @SerializedName("port") var port: String?
  ) : Parcelable
  </code></pre>
  
  <p>Now by adding below field into my <code>Tapligh</code> data class, I will get an error: </p>
  
  <pre><code> @Ignore
   @SerializedName("images") var images: List&lt;String&gt;?
  </code></pre>
  
  <p>I am getting this error:</p>
  
  <pre><code>error: Entities and Pojos must have a usable public constructor. You can have an empty constructor or a constructor whose parameters match the fields (by name and type).
  public final class Tapligh implements android.os.Parcelable {
               ^
  </code></pre>