diff -r e774a42b8e2a -r 1ca0d7fdbe51 java/nekurak.net-lib/src/cz/frantovo/nekurak/dto/Podnik.java --- a/java/nekurak.net-lib/src/cz/frantovo/nekurak/dto/Podnik.java Wed Apr 14 00:40:51 2010 +0200 +++ b/java/nekurak.net-lib/src/cz/frantovo/nekurak/dto/Podnik.java Tue Jun 08 12:56:46 2010 +0200 @@ -3,7 +3,9 @@ import java.io.Serializable; import java.util.ArrayList; import java.util.Date; +import java.util.HashSet; import java.util.List; +import java.util.Set; /** * Podnik – hospoda, bar, kavárna… @@ -21,6 +23,7 @@ private String mesto; private String spravce; private List fotky = new ArrayList(); + private Set komentare = new HashSet(); private Double sirka; private Double delka; @@ -127,4 +130,12 @@ public void setDelka(Double delka) { this.delka = delka; } + + public Set getKomentare() { + return komentare; + } + + public void setKomentare(Set komentare) { + this.komentare = komentare; + } }