java/nekurak.net-lib/src/cz/frantovo/nekurak/dto/Podnik.java
author František Kučera <franta-hg@frantovo.cz>
Sun Feb 21 12:26:43 2010 +0100 (2010-02-21)
changeset 36 663fa0431c27
parent 12 fceba17855e9
child 39 ea342cf8c15a
permissions -rw-r--r--
Lokalizace: skloňování – ještě angličtina.
franta-hg@10
     1
package cz.frantovo.nekurak.dto;
franta-hg@10
     2
franta-hg@12
     3
import java.io.Serializable;
franta-hg@12
     4
franta-hg@10
     5
/**
franta-hg@10
     6
 *
franta-hg@10
     7
 * @author fiki
franta-hg@10
     8
 */
franta-hg@12
     9
public class Podnik implements Serializable {
franta-hg@10
    10
franta-hg@10
    11
    private int id;
franta-hg@10
    12
    private String nazev;
franta-hg@10
    13
franta-hg@10
    14
    public Podnik() {
franta-hg@10
    15
    }
franta-hg@10
    16
franta-hg@10
    17
    public Podnik(int id, String nazev) {
franta-hg@10
    18
	this.id = id;
franta-hg@10
    19
	this.nazev = nazev;
franta-hg@10
    20
    }
franta-hg@10
    21
franta-hg@10
    22
    public int getId() {
franta-hg@10
    23
	return id;
franta-hg@10
    24
    }
franta-hg@10
    25
franta-hg@10
    26
    public void setId(int id) {
franta-hg@10
    27
	this.id = id;
franta-hg@10
    28
    }
franta-hg@10
    29
franta-hg@10
    30
    public String getNazev() {
franta-hg@10
    31
	return nazev;
franta-hg@10
    32
    }
franta-hg@10
    33
franta-hg@10
    34
    public void setNazev(String nazev) {
franta-hg@10
    35
	this.nazev = nazev;
franta-hg@10
    36
    }
franta-hg@10
    37
franta-hg@10
    38
}