java/nekurak.net-lib/src/cz/frantovo/nekurak/dto/Uzivatel.java
author František Kučera <franta-hg@frantovo.cz>
Tue Apr 06 00:50:30 2010 +0200 (2010-04-06)
changeset 94 ac4a5fc868eb
child 145 0efefbf5f8b6
permissions -rw-r--r--
REST: mazání
franta-hg@50
     1
package cz.frantovo.nekurak.dto;
franta-hg@50
     2
franta-hg@50
     3
import java.io.Serializable;
franta-hg@50
     4
import java.util.Date;
franta-hg@50
     5
franta-hg@50
     6
/**
franta-hg@50
     7
 * Uživatel naší aplikace
franta-hg@50
     8
 * @author fiki
franta-hg@50
     9
 */
franta-hg@50
    10
public class Uzivatel implements Serializable {
franta-hg@50
    11
franta-hg@50
    12
    private int id;
franta-hg@50
    13
    /** Uživatelské jméno */
franta-hg@50
    14
    private String prezdivka;
franta-hg@50
    15
    /** Heslo ve tvaru, v jakém má být uloženo do databáze */
franta-hg@50
    16
    private String heslo;
franta-hg@50
    17
    /** Křestní jméno */
franta-hg@50
    18
    private String jmeno;
franta-hg@50
    19
    private String prijmeni;
franta-hg@50
    20
    private String email;
franta-hg@50
    21
    private Date datum;
franta-hg@50
    22
franta-hg@50
    23
    public int getId() {
franta-hg@50
    24
	return id;
franta-hg@50
    25
    }
franta-hg@50
    26
franta-hg@50
    27
    public void setId(int id) {
franta-hg@50
    28
	this.id = id;
franta-hg@50
    29
    }
franta-hg@50
    30
franta-hg@50
    31
    public String getPrezdivka() {
franta-hg@50
    32
	return prezdivka;
franta-hg@50
    33
    }
franta-hg@50
    34
franta-hg@50
    35
    public void setPrezdivka(String prezdivka) {
franta-hg@50
    36
	this.prezdivka = prezdivka;
franta-hg@50
    37
    }
franta-hg@50
    38
franta-hg@50
    39
    public String getHeslo() {
franta-hg@50
    40
	return heslo;
franta-hg@50
    41
    }
franta-hg@50
    42
franta-hg@50
    43
    public void setHeslo(String heslo) {
franta-hg@50
    44
	this.heslo = heslo;
franta-hg@50
    45
    }
franta-hg@50
    46
franta-hg@50
    47
    public String getJmeno() {
franta-hg@50
    48
	return jmeno;
franta-hg@50
    49
    }
franta-hg@50
    50
franta-hg@50
    51
    public void setJmeno(String jmeno) {
franta-hg@50
    52
	this.jmeno = jmeno;
franta-hg@50
    53
    }
franta-hg@50
    54
franta-hg@50
    55
    public String getPrijmeni() {
franta-hg@50
    56
	return prijmeni;
franta-hg@50
    57
    }
franta-hg@50
    58
franta-hg@50
    59
    public void setPrijmeni(String prijmeni) {
franta-hg@50
    60
	this.prijmeni = prijmeni;
franta-hg@50
    61
    }
franta-hg@50
    62
franta-hg@50
    63
    public String getEmail() {
franta-hg@50
    64
	return email;
franta-hg@50
    65
    }
franta-hg@50
    66
franta-hg@50
    67
    public void setEmail(String email) {
franta-hg@50
    68
	this.email = email;
franta-hg@50
    69
    }
franta-hg@50
    70
franta-hg@50
    71
    public Date getDatum() {
franta-hg@50
    72
	return datum;
franta-hg@50
    73
    }
franta-hg@50
    74
franta-hg@50
    75
    public void setDatum(Date datum) {
franta-hg@50
    76
	this.datum = datum;
franta-hg@50
    77
    }
franta-hg@50
    78
}