apollo/models/song.js

27 lines
542 B
JavaScript
Raw Normal View History

2024-12-04 23:18:35 -05:00
class Song {
2024-12-05 03:27:03 -05:00
id = null;
name = null;
album = null;
artists = [];
year = 0;
duration = 0;
progress = 0;
session = null;
state = null;
source = null;
2024-12-04 23:18:35 -05:00
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;