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.
     1 package cz.frantovo.nekurak.dto;
     2 
     3 import java.io.Serializable;
     4 
     5 /**
     6  *
     7  * @author fiki
     8  */
     9 public class Podnik implements Serializable {
    10 
    11     private int id;
    12     private String nazev;
    13 
    14     public Podnik() {
    15     }
    16 
    17     public Podnik(int id, String nazev) {
    18 	this.id = id;
    19 	this.nazev = nazev;
    20     }
    21 
    22     public int getId() {
    23 	return id;
    24     }
    25 
    26     public void setId(int id) {
    27 	this.id = id;
    28     }
    29 
    30     public String getNazev() {
    31 	return nazev;
    32     }
    33 
    34     public void setNazev(String nazev) {
    35 	this.nazev = nazev;
    36     }
    37 
    38 }