java/nekurak.net-lib/src/cz/frantovo/nekurak/dto/Fotka.java
author František Kučera <franta-hg@frantovo.cz>
Wed, 14 Apr 2010 00:40:51 +0200
changeset 104 e774a42b8e2a
parent 72 81c64c582a26
child 145 0efefbf5f8b6
permissions -rw-r--r--
Číslo popisné nebude int ale Integer (aby mohlo být nevyplněné – null)
franta-hg@67
     1
package cz.frantovo.nekurak.dto;
franta-hg@67
     2
franta-hg@67
     3
public class Fotka {
franta-hg@67
     4
franta-hg@67
     5
    /** číslo odpovídá názvu souboru na disku (+přípona) */
franta-hg@67
     6
    private int id;
franta-hg@67
     7
    private String popis;
franta-hg@72
     8
    private int poradi;
franta-hg@67
     9
franta-hg@67
    10
    public int getId() {
franta-hg@67
    11
	return id;
franta-hg@67
    12
    }
franta-hg@67
    13
franta-hg@67
    14
    public void setId(int id) {
franta-hg@67
    15
	this.id = id;
franta-hg@67
    16
    }
franta-hg@67
    17
franta-hg@67
    18
    public String getPopis() {
franta-hg@67
    19
	return popis;
franta-hg@67
    20
    }
franta-hg@67
    21
franta-hg@67
    22
    public void setPopis(String popis) {
franta-hg@67
    23
	this.popis = popis;
franta-hg@67
    24
    }
franta-hg@72
    25
franta-hg@72
    26
    public int getPoradi() {
franta-hg@72
    27
	return poradi;
franta-hg@72
    28
    }
franta-hg@72
    29
franta-hg@72
    30
    public void setPoradi(int poradi) {
franta-hg@72
    31
	this.poradi = poradi;
franta-hg@72
    32
    }
franta-hg@67
    33
}