franta-hg@10: package cz.frantovo.nekurak.dto; franta-hg@10: franta-hg@12: import java.io.Serializable; franta-hg@39: import java.util.Date; franta-hg@12: franta-hg@10: /** franta-hg@10: * franta-hg@10: * @author fiki franta-hg@10: */ franta-hg@12: public class Podnik implements Serializable { franta-hg@10: franta-hg@10: private int id; franta-hg@10: private String nazev; franta-hg@39: private String popis; franta-hg@39: private String url; franta-hg@39: private String ulice; franta-hg@39: private Date datum; franta-hg@39: private int cisloPopisne; franta-hg@39: private String mesto; franta-hg@10: franta-hg@10: public Podnik() { franta-hg@10: } franta-hg@10: franta-hg@10: public Podnik(int id, String nazev) { franta-hg@10: this.id = id; franta-hg@10: this.nazev = nazev; franta-hg@10: } franta-hg@10: franta-hg@10: public int getId() { franta-hg@10: return id; franta-hg@10: } franta-hg@10: franta-hg@10: public void setId(int id) { franta-hg@10: this.id = id; franta-hg@10: } franta-hg@10: franta-hg@10: public String getNazev() { franta-hg@10: return nazev; franta-hg@10: } franta-hg@10: franta-hg@10: public void setNazev(String nazev) { franta-hg@10: this.nazev = nazev; franta-hg@10: } franta-hg@10: franta-hg@39: public String getPopis() { franta-hg@39: return popis; franta-hg@39: } franta-hg@39: franta-hg@39: public void setPopis(String popis) { franta-hg@39: this.popis = popis; franta-hg@39: } franta-hg@39: franta-hg@39: public String getUrl() { franta-hg@39: return url; franta-hg@39: } franta-hg@39: franta-hg@39: public void setUrl(String url) { franta-hg@39: this.url = url; franta-hg@39: } franta-hg@39: franta-hg@39: public String getUlice() { franta-hg@39: return ulice; franta-hg@39: } franta-hg@39: franta-hg@39: public void setUlice(String ulice) { franta-hg@39: this.ulice = ulice; franta-hg@39: } franta-hg@39: franta-hg@39: public Date getDatum() { franta-hg@39: return datum; franta-hg@39: } franta-hg@39: franta-hg@39: public void setDatum(Date datum) { franta-hg@39: this.datum = datum; franta-hg@39: } franta-hg@39: franta-hg@39: public int getCisloPopisne() { franta-hg@39: return cisloPopisne; franta-hg@39: } franta-hg@39: franta-hg@39: public void setCisloPopisne(int cisloPopisne) { franta-hg@39: this.cisloPopisne = cisloPopisne; franta-hg@39: } franta-hg@39: franta-hg@39: public String getMesto() { franta-hg@39: return mesto; franta-hg@39: } franta-hg@39: franta-hg@39: public void setMesto(String mesto) { franta-hg@39: this.mesto = mesto; franta-hg@39: } franta-hg@10: }