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