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