gaoluyang
10 小时以前 5a347be900bf045c947cdbc08167526cd44116db
yudao-module-erp/src/main/java/cn/iocoder/yudao/module/erp/dal/dataobject/sale/ErpSaleOrderItemDO.java
@@ -11,7 +11,7 @@
/**
 * ERP 销售订单项 DO
 *
 * @author 芋道源码
 * @author 超级管理员
 */
@TableName("erp_sale_order_items")
@KeySequence("erp_sale_order_items_seq")
@@ -48,7 +48,7 @@
    private Long productUnitId;
    /**
     * 产品单位单价,单位:元
     * 产品单位含税单价,单位:元
     */
    private BigDecimal productPrice;
    /**
@@ -56,9 +56,10 @@
     */
    private BigDecimal count;
    /**
     * 总价,单位:元
     * 不含税金额,单位:元
     *
     * totalPrice = productPrice * count
     * 含税金额 = productPrice * count
     * totalPrice = 含税金额 - taxPrice
     */
    private BigDecimal totalPrice;
    /**
@@ -68,7 +69,8 @@
    /**
     * 税额,单位:元
     *
     * taxPrice = totalPrice * taxPercent
     * 含税金额 = productPrice * count
     * taxPrice = 含税金额 * taxPercent
     */
    private BigDecimal taxPrice;
@@ -78,15 +80,24 @@
    private String remark;
    // ========== 销售出库 ==========
    /**
     * 销售出库数量
     */
    private BigDecimal outCount;
    // ========== 销售退货(入库)) ==========
    // ========== 生产关联 ==========
    /**
     * 销售退货数量
     * 是否需要生产(0=否 1=是)
     */
    private BigDecimal returnCount;
    private Integer needProduction;
    /**
     * 关联的 MPS 编号
     *
     * 关联 {@link cn.iocoder.yudao.module.mes.dal.dataobject.pro.mps.MesProMpsDO#getId()}
     */
    private Long mpsId;
}