package com.example.prakhar.movieapp.model.realm;

import io.realm.RealmObject;
import io.realm.annotations.PrimaryKey;

/**
 * Created by Prakhar on 3/10/2017.
 */

public class MovieStatus extends RealmObject {

    @PrimaryKey
    private Integer movieId;

    private boolean isAddedToWatchList;

    private boolean isMarkedAsFavorite;

    private boolean isRated;


    public boolean isMarkedAsFavorite() {
        return isMarkedAsFavorite;
    }

    public void setMarkedAsFavorite(boolean markedAsFavorite) {
        isMarkedAsFavorite = markedAsFavorite;
    }

    public Integer getMovieId() {
        return movieId;
    }

    public void setMovieId(Integer movieId) {
        this.movieId = movieId;
    }

    public boolean isAddedToWatchList() {
        return isAddedToWatchList;
    }

    public void setAddedToWatchList(boolean addedToWatchList) {
        isAddedToWatchList = addedToWatchList;
    }

    public boolean isRated() {
        return isRated;
    }

    public void setRated(boolean rated) {
        isRated = rated;
    }
}

@@ -365,16 +365,58 @@
 Rated;%0A%0A
+    private boolean isPresentInUserList;%0A%0A
 %0A    pub
@@ -1096,11 +1096,219 @@
 d;%0A    %7D
+%0A%0A    public boolean isPresentInUserList() %7B%0A        return isPresentInUserList;%0A    %7D%0A%0A    public void setPresentInUserList(boolean presentInUserList) %7B%0A        isPresentInUserList = presentInUserList;%0A    %7D
 %0A%7D%0A

Change MovieStatus Realm Object