author | František Kučera <franta-hg@frantovo.cz> |
Mon, 07 Nov 2011 20:31:44 +0100 | |
changeset 197 | 40b7aa9126d0 |
parent 145 | 0efefbf5f8b6 |
child 198 | 3464334db89a |
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 MARKDOWN,
32 TEXY
33 }
35 public int getId() {
36 return id;
37 }
39 public void setId(int id) {
40 this.id = id;
41 }
43 public int getPodnik() {
44 return podnik;
45 }
47 public void setPodnik(int podnik) {
48 this.podnik = podnik;
49 }
51 public String getUzivatel() {
52 return uzivatel;
53 }
55 public void setUzivatel(String uzivatel) {
56 this.uzivatel = uzivatel;
57 }
59 public Date getDatum() {
60 return datum;
61 }
63 public void setDatum(Date datum) {
64 this.datum = datum;
65 }
67 public String getNadpis() {
68 return nadpis;
69 }
71 public void setNadpis(String nadpis) {
72 this.nadpis = nadpis;
73 }
75 public String getKomentar() {
76 return komentar;
77 }
79 public void setKomentar(String komentar) {
80 this.komentar = komentar;
81 }
82 }