java/nekurak.net-lib/src/cz/frantovo/nekurak/dto/Podnik.java
author František Kučera <franta-hg@frantovo.cz>
Wed, 24 Feb 2010 21:21:23 +0100
changeset 37 1b481b911614
parent 28 0f037986bb6b
child 39 ea342cf8c15a
permissions -rw-r--r--
Pročištění a nová struktura.
     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 }