import {Album} from "./Album";

export class Artist {
    private _id: number
    private _name: string;
    private _image: string;
    private _bio: string;
    private _listAlbum: Album[];

    constructor(id: number, name: string, image: string,bio: string) {
        this._id = id;
        this._name = name;
        this._image = image;
        this._bio = bio;
    }

    get id(): number{
        return this._id;
    }
    get name(): string {
        return this._name;
    }

    set name(value: string) {
        this._name = value;
    }

    get image(): string {
        return this._image;
    }

    set image(value: string) {
        this._image = value;
    }

    get bio(): string {
        return this._bio;
    }

    set bio(value: string) {
        this._bio = value;
    }

    get listAlbum(): Album[] {
        return this._listAlbum;
    }

    set listAlbum(value: Album[]) {
        this._listAlbum = value;
    }
}