apollo/models/song.js

16 lines
386 B
JavaScript
Raw Normal View History

2024-12-04 23:18:35 -05:00
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;