java/nekurak.net-lib/src/cz/frantovo/nekurak/dto/Podnik.java
author František Kučera <franta-hg@frantovo.cz>
Fri Feb 26 23:45:43 2010 +0100 (2010-02-26)
changeset 48 86bd44cebe8f
parent 28 0f037986bb6b
child 50 d259a2dfea67
permissions -rw-r--r--
Odstraněno zapomenuté rozhraní EJB.
     1 package cz.frantovo.nekurak.dto;
     2 
     3 import java.io.Serializable;
     4 import java.util.Date;
     5 
     6 /**
     7  *
     8  * @author fiki
     9  */
    10 public class Podnik implements Serializable {
    11 
    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;
    20 
    21     public Podnik() {
    22     }
    23 
    24     public Podnik(int id, String nazev) {
    25 	this.id = id;
    26 	this.nazev = nazev;
    27     }
    28 
    29     public int getId() {
    30 	return id;
    31     }
    32 
    33     public void setId(int id) {
    34 	this.id = id;
    35     }
    36 
    37     public String getNazev() {
    38 	return nazev;
    39     }
    40 
    41     public void setNazev(String nazev) {
    42 	this.nazev = nazev;
    43     }
    44 
    45     public String getPopis() {
    46 	return popis;
    47     }
    48 
    49     public void setPopis(String popis) {
    50 	this.popis = popis;
    51     }
    52 
    53     public String getUrl() {
    54 	return url;
    55     }
    56 
    57     public void setUrl(String url) {
    58 	this.url = url;
    59     }
    60 
    61     public String getUlice() {
    62 	return ulice;
    63     }
    64 
    65     public void setUlice(String ulice) {
    66 	this.ulice = ulice;
    67     }
    68 
    69     public Date getDatum() {
    70 	return datum;
    71     }
    72 
    73     public void setDatum(Date datum) {
    74 	this.datum = datum;
    75     }
    76 
    77     public int getCisloPopisne() {
    78 	return cisloPopisne;
    79     }
    80 
    81     public void setCisloPopisne(int cisloPopisne) {
    82 	this.cisloPopisne = cisloPopisne;
    83     }
    84 
    85     public String getMesto() {
    86 	return mesto;
    87     }
    88 
    89     public void setMesto(String mesto) {
    90 	this.mesto = mesto;
    91     }
    92 }