package com.google.moviestvsentiments.model;

import androidx.annotation.NonNull;
import androidx.room.ColumnInfo;
import androidx.room.Entity;
import androidx.room.TypeConverters;

/**
 * A record in the assets database table.
 */
@Entity(tableName = "assets_table", primaryKeys = {"asset_id", "asset_type"})
@TypeConverters({AssetType.class})
public class Asset {

    @NonNull
    @ColumnInfo(name = "asset_id")
    public String id;

    @NonNull
    @ColumnInfo(name = "asset_type")
    public AssetType type;

    @NonNull
    @ColumnInfo(name = "title")
    public String title;

    @NonNull
    @ColumnInfo(name = "poster")
    public String poster;

    @NonNull
    @ColumnInfo(name = "plot")
    public String plot;

    @NonNull
    @ColumnInfo(name = "runtime")
    public String runtime;

    @NonNull
    @ColumnInfo(name = "year")
    public String year;

    @NonNull
    @ColumnInfo(name = "timestamp", defaultValue = "CURRENT_TIMESTAMP")
    public long timestamp;

    @ColumnInfo(name = "imdb_rating")
    public String imdbRating;

    @ColumnInfo(name = "rt_rating")
    public String rottenTomatoesRating;
}

@@ -649,24 +649,97 @@
 ng poster;%0A%0A
+    @NonNull%0A    @ColumnInfo(name = %22banner%22)%0A    public String banner;%0A%0A
     @NonNull

Add banner field to Asset