package com.phonoforce.tramory.entities;
public class Track implements IEntity {
private int trackId;
private String title;
private int discId;
private int duration;
private int bpm;
private int genreId;
private int providerId;
private String streamingRestParam;
public Track(int trackId, String title, int discId, int duration, int bpm, int genreId, int providerId, String streamingRestParam) {
this.trackId = trackId;
this.title = title;
this.discId = discId;
this.duration = duration;
this.bpm = bpm;
this.genreId = genreId;
this.providerId = providerId;
this.streamingRestParam = streamingRestParam;
}
public int getId() {
return trackId;
}
public void setId(int trackId) {
this.trackId = trackId;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public int getDiscId() {
return discId;
}
public void setDiscId(int discId) {
this.discId = discId;
}
public int getDuration() {
return duration;
}
public void setDuration(int duration) {
this.duration = duration;
}
public int getBpm() {
return bpm;
}
public void setBpm(int bpm) {
this.bpm = bpm;
}
public int getGenreId() {
return genreId;
}
public void setGenreId(int genreId) {
this.genreId = genreId;
}
public int getProviderId() {
return providerId;
}
public void setProviderId(int providerId) {
this.providerId = providerId;
}
public String getStreamingRestParam() {
return streamingRestParam;
}
public void setStreamingRestParam(String streamingRestParam) {
this.streamingRestParam = streamingRestParam;
}
@Override
public String toString() {
return "Track{" +
"trackId=" + trackId +
", title='" + title + '\'' +
", discId=" + discId +
", duration=" + duration +
", bpm=" + bpm +
", genreId=" + genreId +
", providerId=" + providerId +
", streamingRestParam='" + streamingRestParam + '\'' +
'}';
}
}