package com.ruoyi.web.modules.trading.domain;

import java.math.BigDecimal;

/**
 * 交易订单采购明细 biz_trade_order_line
 */
public class BizTradeOrderLine
{
    private Long id;

    private Long orderId;

    private Long supplierId;

    private String earTag;

    private BigDecimal weight;

    private BigDecimal amount;

    /** 品质等级编码，保存时由服务端按重量匹配 biz_grade_weight_config */
    private String gradeCode;

    /** 品质等级名称快照，与 gradeCode 同时写入 */
    private String gradeName;

    public Long getId()
    {
        return id;
    }

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

    public Long getOrderId()
    {
        return orderId;
    }

    public void setOrderId(Long orderId)
    {
        this.orderId = orderId;
    }

    public Long getSupplierId()
    {
        return supplierId;
    }

    public void setSupplierId(Long supplierId)
    {
        this.supplierId = supplierId;
    }

    public String getEarTag()
    {
        return earTag;
    }

    public void setEarTag(String earTag)
    {
        this.earTag = earTag;
    }

    public BigDecimal getWeight()
    {
        return weight;
    }

    public void setWeight(BigDecimal weight)
    {
        this.weight = weight;
    }

    public BigDecimal getAmount()
    {
        return amount;
    }

    public void setAmount(BigDecimal amount)
    {
        this.amount = amount;
    }

    public String getGradeCode()
    {
        return gradeCode;
    }

    public void setGradeCode(String gradeCode)
    {
        this.gradeCode = gradeCode;
    }

    public String getGradeName()
    {
        return gradeName;
    }

    public void setGradeName(String gradeName)
    {
        this.gradeName = gradeName;
    }
}
