java/nekurak.net-lib/src/cz/frantovo/nekurak/dto/Komentar.java
changeset 127 2b6107e510d8
child 130 1bbff3f5181f
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/java/nekurak.net-lib/src/cz/frantovo/nekurak/dto/Komentar.java	Tue Jun 08 02:37:04 2010 +0200
     1.3 @@ -0,0 +1,65 @@
     1.4 +package cz.frantovo.nekurak.dto;
     1.5 +
     1.6 +import java.util.Date;
     1.7 +
     1.8 +/**
     1.9 + * Komentář k podniku
    1.10 + * @author fiki
    1.11 + */
    1.12 +public class Komentar {
    1.13 +
    1.14 +    private int id;
    1.15 +    private int podnik;
    1.16 +    private String uzivatel;
    1.17 +    private Date datum;
    1.18 +    private String nadpis;
    1.19 +    private String komentar;
    1.20 +
    1.21 +    public int getId() {
    1.22 +	return id;
    1.23 +    }
    1.24 +
    1.25 +    public void setId(int id) {
    1.26 +	this.id = id;
    1.27 +    }
    1.28 +
    1.29 +    public int getPodnik() {
    1.30 +	return podnik;
    1.31 +    }
    1.32 +
    1.33 +    public void setPodnik(int podnik) {
    1.34 +	this.podnik = podnik;
    1.35 +    }
    1.36 +
    1.37 +    public String getUzivatel() {
    1.38 +	return uzivatel;
    1.39 +    }
    1.40 +
    1.41 +    public void setUzivatel(String uzivatel) {
    1.42 +	this.uzivatel = uzivatel;
    1.43 +    }
    1.44 +
    1.45 +    public Date getDatum() {
    1.46 +	return datum;
    1.47 +    }
    1.48 +
    1.49 +    public void setDatum(Date datum) {
    1.50 +	this.datum = datum;
    1.51 +    }
    1.52 +
    1.53 +    public String getNadpis() {
    1.54 +	return nadpis;
    1.55 +    }
    1.56 +
    1.57 +    public void setNadpis(String nadpis) {
    1.58 +	this.nadpis = nadpis;
    1.59 +    }
    1.60 +
    1.61 +    public String getKomentar() {
    1.62 +	return komentar;
    1.63 +    }
    1.64 +
    1.65 +    public void setKomentar(String komentar) {
    1.66 +	this.komentar = komentar;
    1.67 +    }
    1.68 +}