java/nekurak.net-lib/src/cz/frantovo/nekurak/dto/Podnik.java
changeset 28 0f037986bb6b
parent 12 fceba17855e9
child 39 ea342cf8c15a
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/java/nekurak.net-lib/src/cz/frantovo/nekurak/dto/Podnik.java	Thu Feb 11 10:06:39 2010 +0100
     1.3 @@ -0,0 +1,38 @@
     1.4 +package cz.frantovo.nekurak.dto;
     1.5 +
     1.6 +import java.io.Serializable;
     1.7 +
     1.8 +/**
     1.9 + *
    1.10 + * @author fiki
    1.11 + */
    1.12 +public class Podnik implements Serializable {
    1.13 +
    1.14 +    private int id;
    1.15 +    private String nazev;
    1.16 +
    1.17 +    public Podnik() {
    1.18 +    }
    1.19 +
    1.20 +    public Podnik(int id, String nazev) {
    1.21 +	this.id = id;
    1.22 +	this.nazev = nazev;
    1.23 +    }
    1.24 +
    1.25 +    public int getId() {
    1.26 +	return id;
    1.27 +    }
    1.28 +
    1.29 +    public void setId(int id) {
    1.30 +	this.id = id;
    1.31 +    }
    1.32 +
    1.33 +    public String getNazev() {
    1.34 +	return nazev;
    1.35 +    }
    1.36 +
    1.37 +    public void setNazev(String nazev) {
    1.38 +	this.nazev = nazev;
    1.39 +    }
    1.40 +
    1.41 +}