gaoluyang
3 天以前 d39e4f7d839167c16425086dfa2f8747bccfdff9
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
package cn.iocoder.yudao.module.crm.dal.dataobject.receivable;
 
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_receivable_item")
@KeySequence("crm_receivable_item_seq")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CrmReceivableItemDO extends BaseDO {
 
    /**
     * 编号
     */
    @TableId
    private Long id;
    /**
     * 回款编号
     *
     * 关联 {@link CrmReceivableDO#getId()}
     */
    private Long receivableId;
    /**
     * 业务类型
     *
     * 枚举 {@link cn.iocoder.yudao.module.crm.enums.receivable.CrmReceivableBizTypeEnum}
     */
    private Integer bizType;
    /**
     * 业务编号
     */
    private Long bizId;
    /**
     * 业务单号(快照)
     */
    private String bizNo;
    /**
     * 应收金额,单位:元
     */
    private BigDecimal totalPrice;
    /**
     * 已核销金额,单位:元(不含本次)
     */
    private BigDecimal receiptedPrice;
    /**
     * 本次核销金额,单位:元
     */
    private BigDecimal receiptPrice;
    /**
     * 备注
     */
    private String remark;
 
}