author | František Kučera <franta-hg@frantovo.cz> |
Sun, 21 Feb 2010 12:18:32 +0100 | |
changeset 35 | 93d3fab81ad4 |
parent 28 | 0f037986bb6b |
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 }