package com.ar.paintar.room;

import androidx.room.Entity;
import androidx.room.PrimaryKey;

import java.io.Serializable;

@Entity
public class ImageData implements Serializable {

    @PrimaryKey(autoGenerate = true)
    private int id;

    private final String imagePath;

    private final boolean imageType;

    private boolean favoriteStatus = false;

    public ImageData(boolean favoriteStatus, Boolean imageType, String imagePath) {
        this.favoriteStatus = favoriteStatus;
        this.imageType = imageType;
        this.imagePath = imagePath;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getImagePath() {
        return imagePath;
    }

    public boolean getImageType() {
        return imageType;
    }

    public boolean isFavoriteStatus() {
        return favoriteStatus;
    }

    public void setFavoriteStatus(boolean favoriteStatus) {
        this.favoriteStatus = favoriteStatus;
    }
}