franta-hg@10: package cz.frantovo.nekurak.dto; franta-hg@10: franta-hg@12: import java.io.Serializable; 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@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@10: }