author | František Kučera <franta-hg@frantovo.cz> |
Sat, 13 Mar 2010 23:51:43 +0100 | |
changeset 66 | 048531e09c09 |
parent 63 | 619b0d3732eb |
child 67 | fa7e30dee3b3 |
permissions | -rw-r--r-- |
franta-hg@10 | 1 |
package cz.frantovo.nekurak.dto; |
franta-hg@10 | 2 |
|
franta-hg@12 | 3 |
import java.io.Serializable; |
franta-hg@39 | 4 |
import java.util.Date; |
franta-hg@12 | 5 |
|
franta-hg@10 | 6 |
/** |
franta-hg@50 | 7 |
* Podnik – hospoda, bar, kavárna… |
franta-hg@10 | 8 |
* @author fiki |
franta-hg@10 | 9 |
*/ |
franta-hg@12 | 10 |
public class Podnik implements Serializable { |
franta-hg@10 | 11 |
|
franta-hg@10 | 12 |
private int id; |
franta-hg@10 | 13 |
private String nazev; |
franta-hg@39 | 14 |
private String popis; |
franta-hg@39 | 15 |
private String url; |
franta-hg@39 | 16 |
private String ulice; |
franta-hg@39 | 17 |
private Date datum; |
franta-hg@39 | 18 |
private int cisloPopisne; |
franta-hg@39 | 19 |
private String mesto; |
franta-hg@63 | 20 |
private String spravce; |
franta-hg@10 | 21 |
|
franta-hg@10 | 22 |
public Podnik() { |
franta-hg@10 | 23 |
} |
franta-hg@10 | 24 |
|
franta-hg@10 | 25 |
public Podnik(int id, String nazev) { |
franta-hg@10 | 26 |
this.id = id; |
franta-hg@10 | 27 |
this.nazev = nazev; |
franta-hg@10 | 28 |
} |
franta-hg@10 | 29 |
|
franta-hg@10 | 30 |
public int getId() { |
franta-hg@10 | 31 |
return id; |
franta-hg@10 | 32 |
} |
franta-hg@10 | 33 |
|
franta-hg@10 | 34 |
public void setId(int id) { |
franta-hg@10 | 35 |
this.id = id; |
franta-hg@10 | 36 |
} |
franta-hg@10 | 37 |
|
franta-hg@10 | 38 |
public String getNazev() { |
franta-hg@10 | 39 |
return nazev; |
franta-hg@10 | 40 |
} |
franta-hg@10 | 41 |
|
franta-hg@10 | 42 |
public void setNazev(String nazev) { |
franta-hg@10 | 43 |
this.nazev = nazev; |
franta-hg@10 | 44 |
} |
franta-hg@10 | 45 |
|
franta-hg@39 | 46 |
public String getPopis() { |
franta-hg@39 | 47 |
return popis; |
franta-hg@39 | 48 |
} |
franta-hg@39 | 49 |
|
franta-hg@39 | 50 |
public void setPopis(String popis) { |
franta-hg@39 | 51 |
this.popis = popis; |
franta-hg@39 | 52 |
} |
franta-hg@39 | 53 |
|
franta-hg@39 | 54 |
public String getUrl() { |
franta-hg@39 | 55 |
return url; |
franta-hg@39 | 56 |
} |
franta-hg@39 | 57 |
|
franta-hg@39 | 58 |
public void setUrl(String url) { |
franta-hg@39 | 59 |
this.url = url; |
franta-hg@39 | 60 |
} |
franta-hg@39 | 61 |
|
franta-hg@39 | 62 |
public String getUlice() { |
franta-hg@39 | 63 |
return ulice; |
franta-hg@39 | 64 |
} |
franta-hg@39 | 65 |
|
franta-hg@39 | 66 |
public void setUlice(String ulice) { |
franta-hg@39 | 67 |
this.ulice = ulice; |
franta-hg@39 | 68 |
} |
franta-hg@39 | 69 |
|
franta-hg@39 | 70 |
public Date getDatum() { |
franta-hg@39 | 71 |
return datum; |
franta-hg@39 | 72 |
} |
franta-hg@39 | 73 |
|
franta-hg@39 | 74 |
public void setDatum(Date datum) { |
franta-hg@39 | 75 |
this.datum = datum; |
franta-hg@39 | 76 |
} |
franta-hg@39 | 77 |
|
franta-hg@39 | 78 |
public int getCisloPopisne() { |
franta-hg@39 | 79 |
return cisloPopisne; |
franta-hg@39 | 80 |
} |
franta-hg@39 | 81 |
|
franta-hg@39 | 82 |
public void setCisloPopisne(int cisloPopisne) { |
franta-hg@39 | 83 |
this.cisloPopisne = cisloPopisne; |
franta-hg@39 | 84 |
} |
franta-hg@39 | 85 |
|
franta-hg@39 | 86 |
public String getMesto() { |
franta-hg@39 | 87 |
return mesto; |
franta-hg@39 | 88 |
} |
franta-hg@39 | 89 |
|
franta-hg@39 | 90 |
public void setMesto(String mesto) { |
franta-hg@39 | 91 |
this.mesto = mesto; |
franta-hg@39 | 92 |
} |
franta-hg@63 | 93 |
|
franta-hg@63 | 94 |
public String getSpravce() { |
franta-hg@63 | 95 |
return spravce; |
franta-hg@63 | 96 |
} |
franta-hg@63 | 97 |
|
franta-hg@63 | 98 |
public void setSpravce(String spravce) { |
franta-hg@63 | 99 |
this.spravce = spravce; |
franta-hg@63 | 100 |
} |
franta-hg@10 | 101 |
} |