java/nekurak.net-lib/src/cz/frantovo/nekurak/dto/Podnik.java
author František Kučera <franta-hg@frantovo.cz>
Thu, 11 Feb 2010 10:06:39 +0100
changeset 28 0f037986bb6b
parent 12 java/nekurak.net-web/src/java/cz/frantovo/nekurak/dto/Podnik.java@fceba17855e9
child 39 ea342cf8c15a
permissions -rw-r--r--
Hibernate.
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
}