package de.votian.services.entity;

import jakarta.persistence.*;

@Entity
@Table(name = "couriervehicle")
public class CourierVehicle {

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

    @Column(name = "cr_id")
    private Long courierId;

    @Column(name = "crvh_sid")
    private String sid;

    @Column(name = "vht_id")
    private Integer vehicleTypeId;

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

    @Column(name = "crvh_filter")
    private String filter;

    public CourierVehicle() {}

    public Long getId() { return id; }
    public void setId(Long id) { this.id = id; }
    public Long getCourierId() { return courierId; }
    public void setCourierId(Long courierId) { this.courierId = courierId; }
    public String getSid() { return sid; }
    public void setSid(String sid) { this.sid = sid; }
    public Integer getVehicleTypeId() { return vehicleTypeId; }
    public void setVehicleTypeId(Integer vehicleTypeId) { this.vehicleTypeId = vehicleTypeId; }
    public String getGroup() { return group; }
    public void setGroup(String group) { this.group = group; }
    public String getFilter() { return filter; }
    public void setFilter(String filter) { this.filter = filter; }
}
