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