package app.DAO;

import javax.persistence.*;

/**
 * Created by Petr Flégl on 19.3.2017.
 */
@Entity
@Table(name = "elektroT")
public class ElektroT {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "IdElT")
    int idElT;
    @Column
    int svorkOK;
    @Column
    int svorkD;
    @Column
    int prodejD;
    @Column
    int spotAD;
    @Column
    int spotBPSD;
    @Column
    int bonusM;
    @Column
    int svorkM;
    @Column
    int prodejM;

    static final String [] SETTERS = {"setIdElT", "setSvorkOK", "setSvorkD", "setProdejD", "setSpotAD", "setSpotBPSD", "setBonusM", "setSvorkM", "setProdejM"};
    static final String [] GETTERS = {"getIdElT", "getSvorkOK", "getSvorkD", "getProdejD", "getSpotAD", "getSpotBPSD", "getBonusM", "getSvorkM", "getProdejM"};


    public int getIdElT() {
        return idElT;
    }

    public void setIdElT(int idElT) {
        this.idElT = idElT;
    }

    public int getSvorkOK() {
        return svorkOK;
    }

    public void setSvorkOK(int svorkOK) {
        this.svorkOK = svorkOK;
    }

    public int getSvorkD() {
        return svorkD;
    }

    public void setSvorkD(int svorkD) {
        this.svorkD = svorkD;
    }

    public int getSpotAD() {
        return spotAD;
    }

    public void setSpotAD(int spotAD) {
        this.spotAD = spotAD;
    }

    public int getProdejD() {
        return prodejD;
    }

    public void setProdejD(int prodejD) {
        this.prodejD = prodejD;
    }

    public int getSpotBPSD() {
        return spotBPSD;
    }

    public void setSpotBPSD(int spotBPSD) {
        this.spotBPSD = spotBPSD;
    }

    public int getBonusM() {
        return bonusM;
    }

    public void setBonusM(int bonusM) {
        this.bonusM = bonusM;
    }

    public int getSvorkM() {
        return svorkM;
    }

    public void setSvorkM(int svorkM) {
        this.svorkM = svorkM;
    }

    public int getProdejM() {
        return prodejM;
    }

    public void setProdejM(int prodejM) {
        this.prodejM = prodejM;
    }


}

