package de.votian.services.entity;

import jakarta.persistence.*;

@Entity
@Table(name = "tour")
public class Tour {

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

    @Column(name = "jb_id")
    private Long jobId;

    @Column(name = "tr_sort")
    private Integer sort;

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

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

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

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

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

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

    @Column(name = "tr_commission_no")
    private String commissionNo;

    @Column(name = "tr_ware_from_to")
    private String wareFromTo;

    @Column(name = "tr_status")
    private Integer status;

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

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

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

    public Tour() {}

    public Long getId() { return id; }
    public void setId(Long id) { this.id = id; }
    public Long getJobId() { return jobId; }
    public void setJobId(Long jobId) { this.jobId = jobId; }
    public Integer getSort() { return sort; }
    public void setSort(Integer sort) { this.sort = sort; }
    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 getPerson() { return person; }
    public void setPerson(String person) { this.person = person; }
    public Long getAddressId() { return addressId; }
    public void setAddressId(Long addressId) { this.addressId = addressId; }
    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 getCommissionNo() { return commissionNo; }
    public void setCommissionNo(String commissionNo) { this.commissionNo = commissionNo; }
    public String getWareFromTo() { return wareFromTo; }
    public void setWareFromTo(String wareFromTo) { this.wareFromTo = wareFromTo; }
    public Integer getStatus() { return status; }
    public void setStatus(Integer status) { this.status = status; }
    public String getRemark() { return remark; }
    public void setRemark(String remark) { this.remark = remark; }
    public String getPhone() { return phone; }
    public void setPhone(String phone) { this.phone = phone; }
    public Long getCostCenterId() { return costCenterId; }
    public void setCostCenterId(Long costCenterId) { this.costCenterId = costCenterId; }
}
