Skip to content

Commit

Permalink
Add id field to MusicPlayItem
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdgeisler committed Nov 28, 2022
1 parent 4c8a5ef commit e8be0ca
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

@JsonInclude(Include.NON_NULL)
public class MusicPlayItem {
public String id;
public String title;
public String artist;
public String album;
Expand All @@ -14,8 +15,8 @@ public class MusicPlayItem {
public MusicPlayItem() {
}

public MusicPlayItem(String title, String artist, String album, String imageUrl,
Long duration) {
public MusicPlayItem(final String id, final String title, final String artist, final String album, final String imageUrl, final Long duration) {
this.id = id;
this.title = title;
this.artist = artist;
this.album = album;
Expand Down

0 comments on commit e8be0ca

Please sign in to comment.