package app.DAO;

import javax.persistence.*;

/**
 * Created by Petr Flégl on 12.10.2016.
 */
@Entity
@Table(name = "table3")
public class Table3 {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "idRozbor")
    int idRozbor;
    @Column
    int datumOdberu;
    @Column
    short nH4;
    @Column
    short fos;
    @Column
    short tac;
    @Column
    byte fosTac;
    @Column
    short pH;
    @Column
    short kyselinaOctova;
    @Column
    byte kyselinaPropionova;
    @Column
    byte kyselinaMaselna;
    @Column
    short sumaNMK;
    @Column
    byte susina;
    @Column
    byte organickaSusina;

    static final String [] SETTERS = {"setIdRozbor", "setDatumOdberu", "setNH4", "setFost", "setTac", "setFosTac", "setPH", "setKyselinaOctova", "setKyselinaPropionova", "setKyselinaMaselna", "setSumaNMK", "setSusina", "setOrganickaSusina"};
    static final String [] GETTERS = {"getIdRozbor", "getDatumOdberu", "getNH4", "getFost", "getTac", "getFosTac", "getPH", "getKyselinaOctova", "getKyselinaPropionova", "getKyselinaMaselna", "getSumaNMK", "getSusina", "getOrganickaSusina"};


    public int getIdRozbor() {
        return idRozbor;
    }

    public void setIdRozbor(int idRozbor) {
        this.idRozbor = idRozbor;
    }

    public int getDatumOdberu() {
        return datumOdberu;
    }

    public void setDatumOdberu(int datumOdberu) {
        this.datumOdberu = datumOdberu;
    }

    public short getNH4() {
        return nH4;
    }

    public void setNH4(short nH4) {
        this.nH4 = nH4;
    }

    public short getFos() {
        return fos;
    }

    public void setFos(short fos) {
        this.fos = fos;
    }

    public short getTac() {
        return tac;
    }

    public void setTac(short tac) {
        this.tac = tac;
    }

    public byte getFosTac() {
        return fosTac;
    }

    public void setFosTac(byte fosTac) {
        this.fosTac = fosTac;
    }

    public short getPH() {
        return pH;
    }

    public void setPH(short pH) {
        this.pH = pH;
    }

    public short getKyselinaOctova() {
        return kyselinaOctova;
    }

    public void setKyselinaOctova(short kyselinaOctova) {
        this.kyselinaOctova = kyselinaOctova;
    }

    public byte getKyselinaPropionova() {
        return kyselinaPropionova;
    }

    public void setKyselinaPropionova(byte kyselinaPropionova) {
        this.kyselinaPropionova = kyselinaPropionova;
    }

    public byte getKyselinaMaselna() {
        return kyselinaMaselna;
    }

    public void setKyselinaMaselna(byte kyselinaMaselna) {
        this.kyselinaMaselna = kyselinaMaselna;
    }

    public short getSumaNMK() {
        return sumaNMK;
    }

    public void setSumaNMK(short sumaNMK) {
        this.sumaNMK = sumaNMK;
    }

    public byte getSusina() {
        return susina;
    }

    public void setSusina(byte susina) {
        this.susina = susina;
    }

    public byte getOrganickaSusina() {
        return organickaSusina;
    }

    public void setOrganickaSusina(byte organickaSusina) {
        this.organickaSusina = organickaSusina;
    }

}
