package de.votian.services.entity;

import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.GeneratedValue;
import jakarta.persistence.GenerationType;
import jakarta.persistence.Id;
import jakarta.persistence.Table;

@Entity
@Table(name = "serviceradius")
public class ServiceRadius {

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

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

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

    @Column(name = "srvr_zipcode")
    private String zipcode;

    @Column(name = "srvr_city_district")
    private String cityDistrict;

    @Column(name = "srvr_radiusarea_no")
    private Integer radiusAreaNo;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    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;
    }

    public String getZipcode() {
        return zipcode;
    }

    public void setZipcode(String zipcode) {
        this.zipcode = zipcode;
    }

    public String getCityDistrict() {
        return cityDistrict;
    }

    public void setCityDistrict(String cityDistrict) {
        this.cityDistrict = cityDistrict;
    }

    public Integer getRadiusAreaNo() {
        return radiusAreaNo;
    }

    public void setRadiusAreaNo(Integer radiusAreaNo) {
        this.radiusAreaNo = radiusAreaNo;
    }
}
