package de.votian.services.entity;

import jakarta.persistence.*;

@Entity
@Table(name = "servicetype")
public class ServiceType {

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

    @Column(name = "srvt_name")
    private String name;

    @Column(name = "srvt_mode")
    private Integer mode;

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

    @Column(name = "cs_id")
    private Long customerId;

    public ServiceType() {}

    public Long getId() { return id; }
    public void setId(Long id) { this.id = id; }
    public String getName() { return name; }
    public void setName(String name) { this.name = name; }
    public Integer getMode() { return mode; }
    public void setMode(Integer mode) { this.mode = mode; }
    public Long getHeadquartersId() { return headquartersId; }
    public void setHeadquartersId(Long headquartersId) { this.headquartersId = headquartersId; }
    public Long getCustomerId() { return customerId; }
    public void setCustomerId(Long customerId) { this.customerId = customerId; }
}
