package app.DAO;

import javax.persistence.*;

/**
 * Created by Petr Flégl on 12.10.2016.
 */
@Entity
@Table(name = "table9")
public class Table9 {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "IdOlej")
    int idOlej;
    @Column
    int datumOdberu;
    @Column
    int dobaProvozu;
    @Column
    short dobaOleje;
    @Column
    double obsahVody;
    @Column
    double obsahGlykolu;
    @Column
    byte nitrace;
    @Column
    byte sulfatace;
    @Column
    byte oxidace;
    @Column
    double tBN;
    @Column
    double aN;
    @Column
    double iPH;
    @Column
    short med;
    @Column
    short zelezo;
    @Column
    int vymena;
    @Column
    int datumRozboru;
    @Column
    int typOleje;


    static final String [] SETTERS = {"setIdOlej", "setDatumOdberu", "setDobaProvozu", "setDobaOleje", "setObsahVody", "setObsahGlykolu", "setNitrace", "setSulfatace", "setOxidace", "settBN", "setAN", "setIPH", "setMed", "setZelezo", "setDatumRozboru", "setVymena", "setTypOleje"};
    static final String [] GETTERS = {"getIdOlej", "getDatumOdberu", "getDobaProvozu", "getDobaOleje", "getObsahVody", "getObsahGlykolu", "getNitrace", "getSulfatace", "getOxidace", "gettBN", "getAN", "getIPH", "getMed", "getZelezo", "getDatumRozboru", "getVymena", "getTypOleje"};


    public int getIdOlej() {
        return idOlej;
    }

    public void setIdOlej(int idOlej) {
        this.idOlej = idOlej;
    }

    public int getDatumOdberu() {
        return datumOdberu;
    }

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

    public int getDobaProvozu() {
        return dobaProvozu;
    }

    public void setDobaProvozu(int dobaProvozu) {
        this.dobaProvozu = dobaProvozu;
    }

    public short getDobaOleje() {
        return dobaOleje;
    }

    public void setDobaOleje(short dobaOleje) {
        this.dobaOleje = dobaOleje;
    }

    public double getObsahVody() {
        return obsahVody;
    }

    public void setObsahVody(double obsahVody) {
        this.obsahVody = obsahVody;
    }

    public double getObsahGlykolu() {
        return obsahGlykolu;
    }

    public void setObsahGlykolu(double obsahGlykolu) {
        this.obsahGlykolu = obsahGlykolu;
    }

    public byte getNitrace() {
        return nitrace;
    }

    public void setNitrace(byte nitrace) {
        this.nitrace = nitrace;
    }

    public byte getSulfatace() {
        return sulfatace;
    }

    public void setSulfatace(byte sulfatace) {
        this.sulfatace = sulfatace;
    }

    public byte getOxidace() {
        return oxidace;
    }

    public void setOxidace(byte oxidace) {
        this.oxidace = oxidace;
    }

    public double getTBN() {
        return tBN;
    }

    public void setTBN(double tBN) {
        this.tBN = tBN;
    }

    public double getAN() {
        return aN;
    }

    public void setAN(double aN) {
        this.aN = aN;
    }

    public double getIPH() {
        return iPH;
    }

    public void setIPH(double iPH) {
        this.iPH = iPH;
    }

    public short getMed() {
        return med;
    }

    public void setMed(short med) {
        this.med = med;
    }

    public short getZelezo() {
        return zelezo;
    }

    public void setZelezo(short zelezo) {
        this.zelezo = zelezo;
    }
    public int getVymena() {
        return vymena;
    }

    public void setVymena(int vymena) {
        this.vymena = vymena;
    }


    public int getDatumRozboru() {
        return datumRozboru;
    }

    public void setDatumRozboru(int datumRozboru) {
        this.datumRozboru = datumRozboru;
    }
    public int getTypOleje() {
        return typOleje;
    }

    public void setTypOleje(int typOleje) {
        this.typOleje = typOleje;
    }



}
