| | |
| | | /** |
| | | * ERP 销售订单项 DO |
| | | * |
| | | * @author 芋道源码 |
| | | * @author 超级管理员 |
| | | */ |
| | | @TableName("erp_sale_order_items") |
| | | @KeySequence("erp_sale_order_items_seq") |
| | |
| | | private Long productUnitId; |
| | | |
| | | /** |
| | | * 产品单位单价,单位:元 |
| | | * 产品单位含税单价,单位:元 |
| | | */ |
| | | private BigDecimal productPrice; |
| | | /** |
| | |
| | | */ |
| | | private BigDecimal count; |
| | | /** |
| | | * 总价,单位:元 |
| | | * 不含税金额,单位:元 |
| | | * |
| | | * totalPrice = productPrice * count |
| | | * 含税金额 = productPrice * count |
| | | * totalPrice = 含税金额 - taxPrice |
| | | */ |
| | | private BigDecimal totalPrice; |
| | | /** |
| | |
| | | /** |
| | | * 税额,单位:元 |
| | | * |
| | | * taxPrice = totalPrice * taxPercent |
| | | * 含税金额 = productPrice * count |
| | | * taxPrice = 含税金额 * taxPercent |
| | | */ |
| | | private BigDecimal taxPrice; |
| | | |
| | |
| | | */ |
| | | private BigDecimal outCount; |
| | | |
| | | // ========== 生产关联 ========== |
| | | |
| | | /** |
| | | * 是否需要生产(0=否 1=是) |
| | | */ |
| | | private Integer needProduction; |
| | | |
| | | /** |
| | | * 关联的 MPS 编号 |
| | | * |
| | | * 关联 {@link cn.iocoder.yudao.module.mes.dal.dataobject.pro.mps.MesProMpsDO#getId()} |
| | | */ |
| | | private Long mpsId; |
| | | |
| | | } |