package de.votian.services.entity;

import jakarta.persistence.*;

@Entity
@Table(name = "employee")
public class Employee {

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

    @Column(name = "usr_id")
    private Long userId;

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

    @Column(name = "csc_id")
    private Long costCenterId;

    @Column(name = "emp_rights")
    private String rights;

    @Column(name = "emp_headquarters")
    private String headquarters;

    @Column(name = "emp_group")
    private String group;

    public Employee() {}

    public Long getId() { return id; }
    public void setId(Long id) { this.id = id; }
    public Long getUserId() { return userId; }
    public void setUserId(Long userId) { this.userId = userId; }
    public Long getHeadquartersId() { return headquartersId; }
    public void setHeadquartersId(Long headquartersId) { this.headquartersId = headquartersId; }
    public Long getCostCenterId() { return costCenterId; }
    public void setCostCenterId(Long costCenterId) { this.costCenterId = costCenterId; }
    public String getRights() { return rights; }
    public void setRights(String rights) { this.rights = rights; }
    public String getHeadquarters() { return headquarters; }
    public void setHeadquarters(String headquarters) { this.headquarters = headquarters; }
    public String getGroup() { return group; }
    public void setGroup(String group) { this.group = group; }
}
