package com.wallpaper.wallpaperbox.data.entity;

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

import java.io.Serializable;

@Entity
public class WallpaperEntity implements Serializable {

    @PrimaryKey(autoGenerate = true)
    private int id;
    private String name;
    private String original;
    private String previewThumb;
    private String source;
    private Boolean isLike;

    public WallpaperEntity(String name, String original, String previewThumb, String source, Boolean isLike) {
        this.name = name;
        this.original = original;
        this.previewThumb = previewThumb;
        this.source = source;
        this.isLike = isLike;
    }

    public int getId() {
        return id;
    }

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

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getOriginal() {
        return original;
    }

    public void setOriginal(String original) {
        this.original = original;
    }

    public String getPreviewThumb() {
        return previewThumb;
    }

    public void setPreviewThumb(String previewThumb) {
        this.previewThumb = previewThumb;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public Boolean getLike() {
        return isLike;
    }

    public void setLike(Boolean like) {
        isLike = like;
    }
}
