/* * Copyright (C) 2015 Naman Dwivedi * * Licensed under the GNU General Public License v3 * * This is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or (at your option) any later version. * * This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * See the GNU General Public License for more details. */ package com.naman14.timber.models; public class Song { public final long albumId; public final String albumName; public final long artistId; public final String artistName; public final int duration; public final long id; public final String title; public final int trackNumber; public Song() { this.id = -1; this.albumId = -1; this.artistId = -1; this.title = ""; this.artistName = ""; this.albumName = ""; this.duration = -1; this.trackNumber = -1; } public Song(long _id, long _albumId, long _artistId, String _title, String _artistName, String _albumName, int _duration, int _trackNumber) { this.id = _id; this.albumId = _albumId; this.artistId = _artistId; this.title = _title; this.artistName = _artistName; this.albumName = _albumName; this.duration = _duration; this.trackNumber = _trackNumber; } }