package app.DAO;

import javax.persistence.*;

/**
 * Created by Petr Flégl on 12.10.2016.
 */
@Entity
@Table(name = "table5")
public class Table5 {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "IdPlyn")
    int idPlyn;
    @Column
    double metan;
    @Column
    double cO2;
    @Column
    double kyslik;
    @Column
    int syra;
    @Column
    int datumPlyn;


    static final String [] SETTERS = {"setIdPlyn", "setMetan", "setCO2", "setKyslik", "setSyra", "setDatumPlyn"};
    static final String [] GETTERS = {"getIdPlyn", "getMetan", "getCO2", "getKyslik", "getSyra", "getDatumPlyn"};

    public int getIdPlyn() {
        return idPlyn;
    }

    public void setIdPlyn(int idPlyn) {
        this.idPlyn = idPlyn;
    }

    public double getMetan() {
        return metan;
    }

    public void setMetan(double metan) {
        this.metan = metan;
    }

    public double getKyslik() {
        return kyslik;
    }

    public void setKyslik(double kyslik) {
        this.kyslik = kyslik;
    }

    public int getSyra() {
        return syra;
    }

    public void setSyra(int syra) {
        this.syra = syra;
    }
    public double getcO2() {
        return cO2;
    }

    public void setcO2(double cO2) {
        this.cO2 = cO2;
    }
    public int getDatumPlyn() {
        return datumPlyn;
    }

    public void setDatumPlyn(int datumPlyn) {
        this.datumPlyn = datumPlyn;
    }




}
