java/nekurak.net-lib/src/cz/frantovo/nekurak/dto/Podnik.java
author František Kučera <franta-hg@frantovo.cz>
Wed Apr 28 00:22:40 2010 +0200 (2010-04-28)
changeset 114 8bb670b27567
parent 100 01be78803f73
child 127 2b6107e510d8
permissions -rw-r--r--
Added tag 13. díl for changeset 55af119b8c2b
     1 package cz.frantovo.nekurak.dto;
     2 
     3 import java.io.Serializable;
     4 import java.util.ArrayList;
     5 import java.util.Date;
     6 import java.util.List;
     7 
     8 /**
     9  * Podnik – hospoda, bar, kavárna…
    10  * @author fiki
    11  */
    12 public class Podnik implements Serializable {
    13 
    14     private int id;
    15     private String nazev;
    16     private String popis;
    17     private String url;
    18     private String ulice;
    19     private Date datum;
    20     private Integer cisloPopisne;
    21     private String mesto;
    22     private String spravce;
    23     private List<Fotka> fotky = new ArrayList<Fotka>();
    24     private Double sirka;
    25     private Double delka;
    26 
    27     public Podnik() {
    28     }
    29 
    30     public Podnik(int id, String nazev) {
    31 	this.id = id;
    32 	this.nazev = nazev;
    33     }
    34 
    35     public int getId() {
    36 	return id;
    37     }
    38 
    39     public void setId(int id) {
    40 	this.id = id;
    41     }
    42 
    43     public String getNazev() {
    44 	return nazev;
    45     }
    46 
    47     public void setNazev(String nazev) {
    48 	this.nazev = nazev;
    49     }
    50 
    51     public String getPopis() {
    52 	return popis;
    53     }
    54 
    55     public void setPopis(String popis) {
    56 	this.popis = popis;
    57     }
    58 
    59     public String getUrl() {
    60 	return url;
    61     }
    62 
    63     public void setUrl(String url) {
    64 	this.url = url;
    65     }
    66 
    67     public String getUlice() {
    68 	return ulice;
    69     }
    70 
    71     public void setUlice(String ulice) {
    72 	this.ulice = ulice;
    73     }
    74 
    75     public Date getDatum() {
    76 	return datum;
    77     }
    78 
    79     public void setDatum(Date datum) {
    80 	this.datum = datum;
    81     }
    82 
    83     public int getCisloPopisne() {
    84 	return cisloPopisne;
    85     }
    86 
    87     public void setCisloPopisne(int cisloPopisne) {
    88 	this.cisloPopisne = cisloPopisne;
    89     }
    90 
    91     public String getMesto() {
    92 	return mesto;
    93     }
    94 
    95     public void setMesto(String mesto) {
    96 	this.mesto = mesto;
    97     }
    98 
    99     public String getSpravce() {
   100 	return spravce;
   101     }
   102 
   103     public void setSpravce(String spravce) {
   104 	this.spravce = spravce;
   105     }
   106 
   107     public List<Fotka> getFotky() {
   108 	return fotky;
   109     }
   110 
   111     public void setFotky(List<Fotka> fotky) {
   112 	this.fotky = fotky;
   113     }
   114 
   115     public Double getSirka() {
   116 	return sirka;
   117     }
   118 
   119     public void setSirka(Double sirka) {
   120 	this.sirka = sirka;
   121     }
   122 
   123     public Double getDelka() {
   124 	return delka;
   125     }
   126 
   127     public void setDelka(Double delka) {
   128 	this.delka = delka;
   129     }
   130 }