gaoluyang
7 天以前 8e4eee5ad4d74e1a4e6ab4de3a9c28000700dce0
yudao-module-erp/src/main/java/cn/iocoder/yudao/module/erp/dal/dataobject/purchase/ErpPurchaseOrderItemDO.java
@@ -11,7 +11,7 @@
/**
 * ERP 采购订单项 DO
 *
 * @author 芋道源码
 * @author 超级管理员
 */
@TableName("erp_purchase_order_items")
@KeySequence("erp_purchase_order_items_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。
@@ -35,6 +35,12 @@
     */
    private Long orderId;
    /**
     * 采购申请明细编号
     *
     * 关联 {@link ErpPurchaseRequestItemDO#getId()}
     */
    private Long requestItemId;
    /**
     * 物料编号
     *
     * 关联 {@link cn.iocoder.yudao.module.mdm.api.item.dto.MdmItemRespDTO#getId()}
@@ -48,7 +54,7 @@
    private Long productUnitId;
    /**
     * 产品单位单价,单位:元
     * 产品含税单价,单位:元
     */
    private BigDecimal productPrice;
    /**
@@ -56,7 +62,7 @@
     */
    private BigDecimal count;
    /**
     * 总价,单位:元
     * 含税总价,单位:元
     *
     * totalPrice = productPrice * count
     */
@@ -68,7 +74,7 @@
    /**
     * 税额,单位:元
     *
     * taxPrice = totalPrice * taxPercent
     * taxPrice = totalPrice * taxPercent /(100 + taxPercent),即含税总价倒算税额
     */
    private BigDecimal taxPrice;
@@ -89,4 +95,10 @@
     */
    private BigDecimal returnCount;
    // ========== 质检 ==========
    /**
     * 是否需要来料检验
     */
    private Boolean qcCheckFlag;
}