16 lines
386 B
JavaScript
16 lines
386 B
JavaScript
|
class Song {
|
||
|
constructor(id, name, album, artists, year, duration, progress, session, state, source) {
|
||
|
this.id = id;
|
||
|
this.name = name;
|
||
|
this.album = album;
|
||
|
this.artists = artists;
|
||
|
this.year = year;
|
||
|
this.duration = duration;
|
||
|
this.progress = progress;
|
||
|
this.session = session;
|
||
|
this.state = state;
|
||
|
this.source = source;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
module.exports = Song;
|