/*
|
* 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;
|
|
/**
|
*
|
* @author Ulrich Hilger
|
*/
|
@DBTable(name="app.sender")
|
@DBPrimaryKey({"sender_id"})
|
public class Sender {
|
private int id;
|
private String name;
|
private String url;
|
private String logo;
|
|
|
public void setId(int wert) {
|
id = wert;
|
}
|
|
@DBColumn(name = "sender_id")
|
public int getId() {
|
return id;
|
}
|
|
public void setName(String wert) {
|
name = wert;
|
}
|
|
@DBColumn(name = "sender_name")
|
public String getName() {
|
return name;
|
}
|
|
public void setUrl(String wert) {
|
url = wert;
|
}
|
|
@DBColumn(name = "sender_url")
|
public String getUrl() {
|
return url;
|
}
|
|
public void setLogo(String wert) {
|
logo = wert;
|
}
|
|
@DBColumn(name = "sender_logo")
|
public String getLogo() {
|
return logo;
|
}
|
}
|