package app.DAO;

import javax.persistence.*;

/**
 * Created by Petr Flégl on 19.3.2017.
 */
@Entity
@Table(name = "oilT")
public class OilT {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "IdO")
    int idO;
    @Column
    int najeto;
    @Column
    int zbyva;
    @Column
    int celkem;
    @Column
    double teplota;

    static final String [] SETTERS = {"setIdO", "setNajeto", "setZbyva", "setCelkem", "setTeplota"};
    static final String [] GETTERS = {"getIdO", "getNajeto", "getZbyva", "getCelkem", "getTeplota"};

    public int getIdO() {
        return idO;
    }

    public void setIdO(int idO) {
        this.idO = idO;
    }

    public int getNajeto() {
        return najeto;
    }

    public void setNajeto(int najeto) {
        this.najeto = najeto;
    }

    public int getZbyva() {
        return zbyva;
    }

    public void setZbyva(int zbyva) {
        this.zbyva = zbyva;
    }

    public int getCelkem() {
        return celkem;
    }

    public void setCelkem(int celkem) {
        this.celkem = celkem;
    }

    public double getTeplota() {
        return teplota;
    }

    public void setTeplota(double teplota) {
        this.teplota = teplota;
    }





}
