author | František Kučera <franta-hg@frantovo.cz> |
Tue, 08 Jun 2010 12:56:46 +0200 | |
changeset 132 | 1ca0d7fdbe51 |
parent 130 | 1bbff3f5181f |
child 145 | 0efefbf5f8b6 |
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 {
28 PROSTY_TEXT,
29 XHTML,
30 TEXY
31 }
33 public int getId() {
34 return id;
35 }
37 public void setId(int id) {
38 this.id = id;
39 }
41 public int getPodnik() {
42 return podnik;
43 }
45 public void setPodnik(int podnik) {
46 this.podnik = podnik;
47 }
49 public String getUzivatel() {
50 return uzivatel;
51 }
53 public void setUzivatel(String uzivatel) {
54 this.uzivatel = uzivatel;
55 }
57 public Date getDatum() {
58 return datum;
59 }
61 public void setDatum(Date datum) {
62 this.datum = datum;
63 }
65 public String getNadpis() {
66 return nadpis;
67 }
69 public void setNadpis(String nadpis) {
70 this.nadpis = nadpis;
71 }
73 public String getKomentar() {
74 return komentar;
75 }
77 public void setKomentar(String komentar) {
78 this.komentar = komentar;
79 }
80 }