ulrich
2018-02-24 9c2c3c7fa694464e8eb16affe9fdca9363ee0b05
commit | author | age
5eee56 1 /*
U 2  *  Radiozentrale - Webradio App
3  *  Copyright (C) 2018 Ulrich Hilger, http://uhilger.de
4  *
5  *  This program is free software: you can redistribute it and/or modify
6  *  it under the terms of the GNU General Public License as published by
7  *  the Free Software Foundation, either version 3 of the License, or
8  *  (at your option) any later version.
9  *
10  *  This program is distributed in the hope that it will be useful,
11  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  *  GNU General Public License for more details.
14  *
15  *  You should have received a copy of the GNU General Public License
16  *  along with this program.  If not, see http://www.gnu.org/licenses/
17  */
18
19 package de.uhilger.radiozentrale.daten;
20
21 import de.uhilger.baselink.DBColumn;
22 import de.uhilger.baselink.DBPrimaryKey;
23 import de.uhilger.baselink.DBTable;
24
25 @DBTable(name="app.sender")
26 @DBPrimaryKey({"sender_id"})
27 public class Sender {
28   private int id;
29   private String name;
30   private String url;
31   private String logo;
32
33
34   public void setId(int wert) {
35     id = wert;
36   }
37
38   @DBColumn(name = "sender_id")
39   public int getId() {
40     return id;
41   }
42
43   public void setName(String wert) {
44     name = wert;
45   }
46
47   @DBColumn(name = "sender_name")
48   public String getName() {
49     return name;
50   }
51
52   public void setUrl(String wert) {
53     url = wert;
54   }
55
56   @DBColumn(name = "sender_url")
57   public String getUrl() {
58     return url;
59   }
60
61   public void setLogo(String wert) {
62     logo = wert;
63   }
64
65   @DBColumn(name = "sender_logo")
66   public String getLogo() {
67     return logo;
68   }
69 }