package de.votian.services.entity;

import jakarta.persistence.*;
import java.math.BigDecimal;

@Entity
@Table(name = "jobprice")
@IdClass(JobPriceId.class)
public class JobPrice {

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

    @Id
    @Column(name = "mt_sort")
    private Integer metaSort;

    @Column(name = "jbprc_price")
    private BigDecimal price;

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

    @Column(name = "jbprc_reference")
    private Long reference;

    public JobPrice() {}

    public Long getJobId() { return jobId; }
    public void setJobId(Long jobId) { this.jobId = jobId; }
    public Integer getMetaSort() { return metaSort; }
    public void setMetaSort(Integer metaSort) { this.metaSort = metaSort; }
    public BigDecimal getPrice() { return price; }
    public void setPrice(BigDecimal price) { this.price = price; }
    public String getRemark() { return remark; }
    public void setRemark(String remark) { this.remark = remark; }
    public Long getReference() { return reference; }
    public void setReference(Long reference) { this.reference = reference; }
}
