mirror of
https://github.com/gabehf/tempus.git
synced 2026-03-07 21:48:17 -08:00
38 lines
805 B
Java
38 lines
805 B
Java
package com.cappielloantonio.play.model;
|
|
|
|
import androidx.annotation.NonNull;
|
|
import androidx.room.ColumnInfo;
|
|
import androidx.room.Entity;
|
|
import androidx.room.PrimaryKey;
|
|
|
|
@Entity(tableName = "queue")
|
|
public class Queue {
|
|
@NonNull
|
|
@PrimaryKey
|
|
@ColumnInfo(name = "track_order")
|
|
private int trackOrder;
|
|
|
|
@ColumnInfo(name = "id")
|
|
private String songID;
|
|
|
|
public Queue(int trackOrder, String songID) {
|
|
this.trackOrder = trackOrder;
|
|
this.songID = songID;
|
|
}
|
|
|
|
public int getTrackOrder() {
|
|
return trackOrder;
|
|
}
|
|
|
|
public void setTrackOrder(int trackOrder) {
|
|
this.trackOrder = trackOrder;
|
|
}
|
|
|
|
public String getSongID() {
|
|
return songID;
|
|
}
|
|
|
|
public void setSongID(String songID) {
|
|
this.songID = songID;
|
|
}
|
|
}
|