package de.votian.services.entity;

import jakarta.persistence.*;

@Entity
@Table(name = "parameter")
public class Parameter {

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "par_id")
    private Long id;

    @Column(name = "par_key")
    private String key;

    @Column(name = "par_value")
    private String value;

    @Column(name = "par_text")
    private String text;

    @Column(name = "hq_id")
    private Long headquartersId;

    @Column(name = "emp_id")
    private Long employeeId;

    @Column(name = "md_id")
    private Long mandatorId;

    public Parameter() {}

    public Long getId() { return id; }
    public void setId(Long id) { this.id = id; }
    public String getKey() { return key; }
    public void setKey(String key) { this.key = key; }
    public String getValue() { return value; }
    public void setValue(String value) { this.value = value; }
    public String getText() { return text; }
    public void setText(String text) { this.text = text; }
    public Long getHeadquartersId() { return headquartersId; }
    public void setHeadquartersId(Long headquartersId) { this.headquartersId = headquartersId; }
    public Long getEmployeeId() { return employeeId; }
    public void setEmployeeId(Long employeeId) { this.employeeId = employeeId; }
    public Long getMandatorId() { return mandatorId; }
    public void setMandatorId(Long mandatorId) { this.mandatorId = mandatorId; }
}
