/* * Radiozentrale - Webradio App * Copyright (C) 2018 Ulrich Hilger, http://uhilger.de * * This program 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 program 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. * * You should have received a copy of the GNU General Public License * along with this program. If not, see http://www.gnu.org/licenses/ */ package de.uhilger.radiozentrale.daten; import de.uhilger.baselink.DBColumn; import de.uhilger.baselink.DBPrimaryKey; import de.uhilger.baselink.DBTable; @DBTable(name="app.abspieler") @DBPrimaryKey({"abs_id"}) public class Abspieler { private int id; private String name; private String url; private String typ; private String bild; private String zustand; public void setId(int wert) { id = wert; } @DBColumn(name = "abs_id") public int getId() { return id; } public void setName(String wert) { name = wert; } @DBColumn(name = "abs_name") public String getName() { return name; } public void setUrl(String wert) { url = wert; } @DBColumn(name = "abs_url") public String getUrl() { return url; } public void setTyp(String wert) { typ = wert; } @DBColumn(name = "abs_typ") public String getTyp() { return typ; } public void setBild(String wert) { bild = wert; } @DBColumn(name = "abs_bild") public String getBild() { return bild; } public void setZustand(String wert) { zustand = wert; } @DBColumn(name = "abs_zustand") public String getZustand() { return zustand; } }