package de.votian.services.entity;

import jakarta.persistence.*;

@Entity
@Table(name = "costcenteraddress")
public class CostCenterAddress {

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

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

    @Column(name = "ad_id")
    private Long addressId;

    @Column(name = "adt_id")
    private Integer addressTypeId;

    @Column(name = "cscad_comp")
    private String comp;

    @Column(name = "cscad_comp2")
    private String comp2;

    @Column(name = "cscad_comp3")
    private String comp3;

    @Column(name = "cscad_comp4")
    private String comp4;

    @Column(name = "cscad_hsno")
    private String hsno;

    @Column(name = "cscad_floor")
    private String floor;

    @Column(name = "cscad_remark")
    private String remark;

    @Column(name = "cscad_person")
    private String person;

    @Column(name = "cscad_phone")
    private String phone;

    @Column(name = "cscad_email")
    private String email;

    public CostCenterAddress() {}

    public Long getId() { return id; }
    public void setId(Long id) { this.id = id; }
    public Long getCostCenterId() { return costCenterId; }
    public void setCostCenterId(Long costCenterId) { this.costCenterId = costCenterId; }
    public Long getAddressId() { return addressId; }
    public void setAddressId(Long addressId) { this.addressId = addressId; }
    public Integer getAddressTypeId() { return addressTypeId; }
    public void setAddressTypeId(Integer addressTypeId) { this.addressTypeId = addressTypeId; }
    public String getComp() { return comp; }
    public void setComp(String comp) { this.comp = comp; }
    public String getComp2() { return comp2; }
    public void setComp2(String comp2) { this.comp2 = comp2; }
    public String getComp3() { return comp3; }
    public void setComp3(String comp3) { this.comp3 = comp3; }
    public String getComp4() { return comp4; }
    public void setComp4(String comp4) { this.comp4 = comp4; }
    public String getHsno() { return hsno; }
    public void setHsno(String hsno) { this.hsno = hsno; }
    public String getFloor() { return floor; }
    public void setFloor(String floor) { this.floor = floor; }
    public String getRemark() { return remark; }
    public void setRemark(String remark) { this.remark = remark; }
    public String getPerson() { return person; }
    public void setPerson(String person) { this.person = person; }
    public String getPhone() { return phone; }
    public void setPhone(String phone) { this.phone = phone; }
    public String getEmail() { return email; }
    public void setEmail(String email) { this.email = email; }
}
