package app.DAO;

import javax.persistence.*;

/**
 * Created by Petr Flégl on 25.3.2017.
 */
@Entity
@Table(name="procesStatusTable")
public class ProcesStatusTable {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "IdStat")
    int idStat;
    @Column
    int urovenVnoreni;
    @Column
    String tipChyb;
    @Column
    String nazev;
    @Column
    String popis;

    static final String [] SETTERS = {"setIdStat", "setUrovenVnoreni", "setTipChyb", "setPopis", "setNazev"};
    static final String [] GETTERS = {"getIdStat", "getUrovenVnoreni", "getTipChyb", "getPopis", "getNazev"};

    public String getPopis() {
        return popis;
    }

    public void setPopis(String popis) {
        this.popis = popis;
    }

    public int getIdStat() {
        return idStat;
    }

    public void setIdStat(int idStat) {
        this.idStat = idStat;
    }

    public int getUrovenVnoreni() {
        return urovenVnoreni;
    }

    public void setUrovenVnoreni(int urovenVnoreni) {
        this.urovenVnoreni = urovenVnoreni;
    }

    public String getTipChyb() {
        return tipChyb;
    }

    public void setTipChyb(String tipChyb) {
        this.tipChyb = tipChyb;
    }
    public String getNazev() {
        return nazev;
    }

    public void setNazev(String nazev) {
        this.nazev = nazev;
    }




}
