java/nekurak.net-lib/src/cz/frantovo/nekurak/dto/Podnik.java
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--
Přestavba EJB, pročištění starých ukázek, web.
franta-hg@10
     1
package cz.frantovo.nekurak.dto;
franta-hg@10
     2
franta-hg@12
     3
import java.io.Serializable;
franta-hg@39
     4
import java.util.Date;
franta-hg@12
     5
franta-hg@10
     6
/**
franta-hg@10
     7
 *
franta-hg@10
     8
 * @author fiki
franta-hg@10
     9
 */
franta-hg@12
    10
public class Podnik implements Serializable {
franta-hg@10
    11
franta-hg@10
    12
    private int id;
franta-hg@10
    13
    private String nazev;
franta-hg@39
    14
    private String popis;
franta-hg@39
    15
    private String url;
franta-hg@39
    16
    private String ulice;
franta-hg@39
    17
    private Date datum;
franta-hg@39
    18
    private int cisloPopisne;
franta-hg@39
    19
    private String mesto;
franta-hg@10
    20
franta-hg@10
    21
    public Podnik() {
franta-hg@10
    22
    }
franta-hg@10
    23
franta-hg@10
    24
    public Podnik(int id, String nazev) {
franta-hg@10
    25
	this.id = id;
franta-hg@10
    26
	this.nazev = nazev;
franta-hg@10
    27
    }
franta-hg@10
    28
franta-hg@10
    29
    public int getId() {
franta-hg@10
    30
	return id;
franta-hg@10
    31
    }
franta-hg@10
    32
franta-hg@10
    33
    public void setId(int id) {
franta-hg@10
    34
	this.id = id;
franta-hg@10
    35
    }
franta-hg@10
    36
franta-hg@10
    37
    public String getNazev() {
franta-hg@10
    38
	return nazev;
franta-hg@10
    39
    }
franta-hg@10
    40
franta-hg@10
    41
    public void setNazev(String nazev) {
franta-hg@10
    42
	this.nazev = nazev;
franta-hg@10
    43
    }
franta-hg@10
    44
franta-hg@39
    45
    public String getPopis() {
franta-hg@39
    46
	return popis;
franta-hg@39
    47
    }
franta-hg@39
    48
franta-hg@39
    49
    public void setPopis(String popis) {
franta-hg@39
    50
	this.popis = popis;
franta-hg@39
    51
    }
franta-hg@39
    52
franta-hg@39
    53
    public String getUrl() {
franta-hg@39
    54
	return url;
franta-hg@39
    55
    }
franta-hg@39
    56
franta-hg@39
    57
    public void setUrl(String url) {
franta-hg@39
    58
	this.url = url;
franta-hg@39
    59
    }
franta-hg@39
    60
franta-hg@39
    61
    public String getUlice() {
franta-hg@39
    62
	return ulice;
franta-hg@39
    63
    }
franta-hg@39
    64
franta-hg@39
    65
    public void setUlice(String ulice) {
franta-hg@39
    66
	this.ulice = ulice;
franta-hg@39
    67
    }
franta-hg@39
    68
franta-hg@39
    69
    public Date getDatum() {
franta-hg@39
    70
	return datum;
franta-hg@39
    71
    }
franta-hg@39
    72
franta-hg@39
    73
    public void setDatum(Date datum) {
franta-hg@39
    74
	this.datum = datum;
franta-hg@39
    75
    }
franta-hg@39
    76
franta-hg@39
    77
    public int getCisloPopisne() {
franta-hg@39
    78
	return cisloPopisne;
franta-hg@39
    79
    }
franta-hg@39
    80
franta-hg@39
    81
    public void setCisloPopisne(int cisloPopisne) {
franta-hg@39
    82
	this.cisloPopisne = cisloPopisne;
franta-hg@39
    83
    }
franta-hg@39
    84
franta-hg@39
    85
    public String getMesto() {
franta-hg@39
    86
	return mesto;
franta-hg@39
    87
    }
franta-hg@39
    88
franta-hg@39
    89
    public void setMesto(String mesto) {
franta-hg@39
    90
	this.mesto = mesto;
franta-hg@39
    91
    }
franta-hg@10
    92
}