java/nekurak.net-lib/src/cz/frantovo/nekurak/dto/Komentar.java
author František Kučera <franta-hg@frantovo.cz>
Tue Jan 11 15:27:51 2011 +0100 (2011-01-11)
changeset 163 5f0d5e1305b3
parent 130 1bbff3f5181f
child 197 40b7aa9126d0
permissions -rw-r--r--
Kategorie podniků budou lokalizované.
franta-hg@127
     1
package cz.frantovo.nekurak.dto;
franta-hg@127
     2
franta-hg@127
     3
import java.util.Date;
franta-hg@127
     4
franta-hg@127
     5
/**
franta-hg@127
     6
 * Komentář k podniku
franta-hg@127
     7
 * @author fiki
franta-hg@127
     8
 */
franta-hg@127
     9
public class Komentar {
franta-hg@127
    10
franta-hg@145
    11
	private int id;
franta-hg@145
    12
	private int podnik;
franta-hg@145
    13
	private String uzivatel;
franta-hg@145
    14
	private Date datum;
franta-hg@145
    15
	private String nadpis;
franta-hg@145
    16
	private String komentar;
franta-hg@145
    17
	private TYP typ;
franta-hg@130
    18
franta-hg@145
    19
	public TYP getTyp() {
franta-hg@145
    20
		return typ;
franta-hg@145
    21
	}
franta-hg@130
    22
franta-hg@145
    23
	public void setTyp(TYP typ) {
franta-hg@145
    24
		this.typ = typ;
franta-hg@145
    25
	}
franta-hg@130
    26
franta-hg@145
    27
	public enum TYP {
franta-hg@127
    28
franta-hg@145
    29
		PROSTY_TEXT,
franta-hg@145
    30
		XHTML,
franta-hg@145
    31
		TEXY
franta-hg@145
    32
	}
franta-hg@127
    33
franta-hg@145
    34
	public int getId() {
franta-hg@145
    35
		return id;
franta-hg@145
    36
	}
franta-hg@127
    37
franta-hg@145
    38
	public void setId(int id) {
franta-hg@145
    39
		this.id = id;
franta-hg@145
    40
	}
franta-hg@127
    41
franta-hg@145
    42
	public int getPodnik() {
franta-hg@145
    43
		return podnik;
franta-hg@145
    44
	}
franta-hg@127
    45
franta-hg@145
    46
	public void setPodnik(int podnik) {
franta-hg@145
    47
		this.podnik = podnik;
franta-hg@145
    48
	}
franta-hg@127
    49
franta-hg@145
    50
	public String getUzivatel() {
franta-hg@145
    51
		return uzivatel;
franta-hg@145
    52
	}
franta-hg@127
    53
franta-hg@145
    54
	public void setUzivatel(String uzivatel) {
franta-hg@145
    55
		this.uzivatel = uzivatel;
franta-hg@145
    56
	}
franta-hg@127
    57
franta-hg@145
    58
	public Date getDatum() {
franta-hg@145
    59
		return datum;
franta-hg@145
    60
	}
franta-hg@127
    61
franta-hg@145
    62
	public void setDatum(Date datum) {
franta-hg@145
    63
		this.datum = datum;
franta-hg@145
    64
	}
franta-hg@127
    65
franta-hg@145
    66
	public String getNadpis() {
franta-hg@145
    67
		return nadpis;
franta-hg@145
    68
	}
franta-hg@127
    69
franta-hg@145
    70
	public void setNadpis(String nadpis) {
franta-hg@145
    71
		this.nadpis = nadpis;
franta-hg@145
    72
	}
franta-hg@127
    73
franta-hg@145
    74
	public String getKomentar() {
franta-hg@145
    75
		return komentar;
franta-hg@145
    76
	}
franta-hg@145
    77
franta-hg@145
    78
	public void setKomentar(String komentar) {
franta-hg@145
    79
		this.komentar = komentar;
franta-hg@145
    80
	}
franta-hg@127
    81
}