export class Artist { private _name: string; private _image: string; constructor(name: string, image: string) { this._name = name; this._image = image; } public get name(): string { return this._name; } public set name(value: string) { this._name = value; } get image(): string { return this._image; } set image(value: string) { this._image = value; } }