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