package app.DAO;

import javax.persistence.*;

/**
 * Created by Petr Flégl on 12.10.2016.
 */
@Entity
@Table(name = "table8")
public class Table8 {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "idParametryElektro")
    int idParametryElektro;
    @Column
    short vykonSvorky;
    @Column
    byte spotrebaArealu;
    @Column
    short fazeA1;
    @Column
    short fazeA2;
    @Column
    short fazeA3;
    @Column
    short fazeV1;
    @Column
    short fazeV2;
    @Column
    short fazeV3;

    static final String [] SETTERS = {"setIdParametryElektro", "setSpotrebaArealu", "setFazeA1", "setFazeA2", "setFazeA3", "setFazeV1", "setFazeV2", "setFazeV3"};
    static final String [] GETTERS = {"getIdParametryElektro", "getSpotrebaArealu", "getFazeA1", "getFazeA2", "getFazeA3", "getFazeV1", "getFazeV2", "getFazeV3"};

    public int getIdParametryElektro() {
        return idParametryElektro;
    }

    public void setIdParametryElektro(int idParametryElektro) {
        this.idParametryElektro = idParametryElektro;
    }

    public short getVykonSvorky() {
        return vykonSvorky;
    }

    public void setVykonSvorky(short vykonSvorky) {
        this.vykonSvorky = vykonSvorky;
    }

    public byte getSpotrebaArealu() {
        return spotrebaArealu;
    }

    public void setSpotrebaArealu(byte spotrebaArealu) {
        this.spotrebaArealu = spotrebaArealu;
    }

    public short getFazeA1() {
        return fazeA1;
    }

    public void setFazeA1(short fazeA1) {
        this.fazeA1 = fazeA1;
    }

    public short getFazeA2() {
        return fazeA2;
    }

    public void setFazeA2(short fazeA2) {
        this.fazeA2 = fazeA2;
    }

    public short getFazeA3() {
        return fazeA3;
    }

    public void setFazeA3(short fazeA3) {
        this.fazeA3 = fazeA3;
    }

    public short getFazeV1() {
        return fazeV1;
    }

    public void setFazeV1(short fazeV1) {
        this.fazeV1 = fazeV1;
    }

    public short getFazeV2() {
        return fazeV2;
    }

    public void setFazeV2(short fazeV2) {
        this.fazeV2 = fazeV2;
    }

    public short getFazeV3() {
        return fazeV3;
    }

    public void setFazeV3(short fazeV3) {
        this.fazeV3 = fazeV3;
    }


}
