You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
455 B
26 lines
455 B
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;
|
|
}
|
|
} |