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.
33 lines
585 B
33 lines
585 B
import {Album} from "./Album";
|
|
|
|
export class Artist {
|
|
private _id: number
|
|
private _name: string;
|
|
private _image: string;
|
|
|
|
constructor(id: number, name: string, image: string) {
|
|
this._id = id;
|
|
this._name = name;
|
|
this._image = image;
|
|
}
|
|
|
|
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;
|
|
}
|
|
|
|
} |