author | František Kučera <franta-hg@frantovo.cz> |
Thu, 25 Feb 2010 02:41:57 +0100 | |
changeset 39 | ea342cf8c15a |
parent 28 | 0f037986bb6b |
child 50 | d259a2dfea67 |
permissions | -rw-r--r-- |
1 package cz.frantovo.nekurak.dto;
3 import java.io.Serializable;
4 import java.util.Date;
6 /**
7 *
8 * @author fiki
9 */
10 public class Podnik implements Serializable {
12 private int id;
13 private String nazev;
14 private String popis;
15 private String url;
16 private String ulice;
17 private Date datum;
18 private int cisloPopisne;
19 private String mesto;
21 public Podnik() {
22 }
24 public Podnik(int id, String nazev) {
25 this.id = id;
26 this.nazev = nazev;
27 }
29 public int getId() {
30 return id;
31 }
33 public void setId(int id) {
34 this.id = id;
35 }
37 public String getNazev() {
38 return nazev;
39 }
41 public void setNazev(String nazev) {
42 this.nazev = nazev;
43 }
45 public String getPopis() {
46 return popis;
47 }
49 public void setPopis(String popis) {
50 this.popis = popis;
51 }
53 public String getUrl() {
54 return url;
55 }
57 public void setUrl(String url) {
58 this.url = url;
59 }
61 public String getUlice() {
62 return ulice;
63 }
65 public void setUlice(String ulice) {
66 this.ulice = ulice;
67 }
69 public Date getDatum() {
70 return datum;
71 }
73 public void setDatum(Date datum) {
74 this.datum = datum;
75 }
77 public int getCisloPopisne() {
78 return cisloPopisne;
79 }
81 public void setCisloPopisne(int cisloPopisne) {
82 this.cisloPopisne = cisloPopisne;
83 }
85 public String getMesto() {
86 return mesto;
87 }
89 public void setMesto(String mesto) {
90 this.mesto = mesto;
91 }
92 }