franta-hg@127: package cz.frantovo.nekurak.dto; franta-hg@127: franta-hg@127: import java.util.Date; franta-hg@127: franta-hg@127: /** franta-hg@127: * Komentář k podniku franta-hg@127: * @author fiki franta-hg@127: */ franta-hg@127: public class Komentar { franta-hg@127: franta-hg@127: private int id; franta-hg@127: private int podnik; franta-hg@127: private String uzivatel; franta-hg@127: private Date datum; franta-hg@127: private String nadpis; franta-hg@127: private String komentar; franta-hg@130: private TYP typ; franta-hg@130: franta-hg@130: public TYP getTyp() { franta-hg@130: return typ; franta-hg@130: } franta-hg@130: franta-hg@130: public void setTyp(TYP typ) { franta-hg@130: this.typ = typ; franta-hg@130: } franta-hg@130: franta-hg@130: public enum TYP { franta-hg@130: PROSTY_TEXT, franta-hg@130: XHTML, franta-hg@130: TEXY franta-hg@130: } franta-hg@127: franta-hg@127: public int getId() { franta-hg@127: return id; franta-hg@127: } franta-hg@127: franta-hg@127: public void setId(int id) { franta-hg@127: this.id = id; franta-hg@127: } franta-hg@127: franta-hg@127: public int getPodnik() { franta-hg@127: return podnik; franta-hg@127: } franta-hg@127: franta-hg@127: public void setPodnik(int podnik) { franta-hg@127: this.podnik = podnik; franta-hg@127: } franta-hg@127: franta-hg@127: public String getUzivatel() { franta-hg@127: return uzivatel; franta-hg@127: } franta-hg@127: franta-hg@127: public void setUzivatel(String uzivatel) { franta-hg@127: this.uzivatel = uzivatel; franta-hg@127: } franta-hg@127: franta-hg@127: public Date getDatum() { franta-hg@127: return datum; franta-hg@127: } franta-hg@127: franta-hg@127: public void setDatum(Date datum) { franta-hg@127: this.datum = datum; franta-hg@127: } franta-hg@127: franta-hg@127: public String getNadpis() { franta-hg@127: return nadpis; franta-hg@127: } franta-hg@127: franta-hg@127: public void setNadpis(String nadpis) { franta-hg@127: this.nadpis = nadpis; franta-hg@127: } franta-hg@127: franta-hg@127: public String getKomentar() { franta-hg@127: return komentar; franta-hg@127: } franta-hg@127: franta-hg@127: public void setKomentar(String komentar) { franta-hg@127: this.komentar = komentar; franta-hg@127: } franta-hg@127: }