author | František Kučera <franta-hg@frantovo.cz> |
Tue, 25 Jan 2011 20:28:32 +0100 | |
changeset 176 | 2472d9e9c0aa |
parent 145 | 0efefbf5f8b6 |
child 197 | 40b7aa9126d0 |
permissions | -rw-r--r-- |
1 package cz.frantovo.nekurak.dto;
3 import java.util.Date;
5 /**
6 * Komentář k podniku
7 * @author fiki
8 */
9 public class Komentar {
11 private int id;
12 private int podnik;
13 private String uzivatel;
14 private Date datum;
15 private String nadpis;
16 private String komentar;
17 private TYP typ;
19 public TYP getTyp() {
20 return typ;
21 }
23 public void setTyp(TYP typ) {
24 this.typ = typ;
25 }
27 public enum TYP {
29 PROSTY_TEXT,
30 XHTML,
31 TEXY
32 }
34 public int getId() {
35 return id;
36 }
38 public void setId(int id) {
39 this.id = id;
40 }
42 public int getPodnik() {
43 return podnik;
44 }
46 public void setPodnik(int podnik) {
47 this.podnik = podnik;
48 }
50 public String getUzivatel() {
51 return uzivatel;
52 }
54 public void setUzivatel(String uzivatel) {
55 this.uzivatel = uzivatel;
56 }
58 public Date getDatum() {
59 return datum;
60 }
62 public void setDatum(Date datum) {
63 this.datum = datum;
64 }
66 public String getNadpis() {
67 return nadpis;
68 }
70 public void setNadpis(String nadpis) {
71 this.nadpis = nadpis;
72 }
74 public String getKomentar() {
75 return komentar;
76 }
78 public void setKomentar(String komentar) {
79 this.komentar = komentar;
80 }
81 }