2026-07-02 6e312c64c056acf479a6dd8393dd42a80b69b7d4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
package cn.iocoder.yudao.module.crm.dal.dataobject.quotation;
 
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
 
import java.math.BigDecimal;
 
/**
 * CRM 销售报价单产品明细 DO
 *
 * @author 芋道源码
 */
@TableName("crm_sale_quotation_product")
@KeySequence("crm_sale_quotation_product_seq")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CrmSaleQuotationProductDO extends BaseDO {
 
    /**
     * 主键
     */
    @TableId
    private Long id;
    /**
     * 报价单编号
     *
     * 关联 {@link CrmSaleQuotationDO#getId()}
     */
    private Long quotationId;
    /**
     * MDM 物料编号
     *
     * 关联 MdmItemRespDTO.id
     */
    private Long itemId;
    /**
     * 计量单位编号
     *
     * 关联 MdmUnitMeasureRespDTO.id
     */
    private Long itemUnitId;
    /**
     * 物料原价,单位:元(冗余)
     */
    private BigDecimal itemPrice;
    /**
     * 报价单价,单位:元
     */
    private BigDecimal quotationPrice;
    /**
     * 数量
     */
    private BigDecimal count;
    /**
     * 小计金额,单位:元
     *
     * totalPrice = quotationPrice * count
     */
    private BigDecimal totalPrice;
    /**
     * 税率,百分比
     */
    private BigDecimal taxPercent;
    /**
     * 税额,单位:元
     */
    private BigDecimal taxPrice;
    /**
     * 备注
     */
    private String remark;
 
}