chenrui
3 天以前 2b6aeba9a6b77d2041770e624ca7e497ba167796
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
package com.ruoyi.purchase.pojo;
 
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
 
import java.math.BigDecimal;
import java.util.Date;
 
/**
 * 采购台账产品开票记录对象 product_record
 *
 * @author ruoyi
 * @date 2025-05-23
 */
@Data
@TableName("product_record")
public class ProductRecord {
    private static final long serialVersionUID = 1L;
 
    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
 
    /**
     * 来票登记id
     */
    private Long ticketRegistrationId;
 
    /**
     * 采购台账id
     */
    private Long purchaseLedgerId;
 
    /**
     * 产品大类
     */
    private String productCategory;
 
    /**
     * 规格型号
     */
    private String specificationModel;
 
    /**
     * 单位
     */
    private String unit;
 
    /**
     * 数量
     */
    private BigDecimal quantity;
 
    /**
     * 税率
     */
    private BigDecimal taxRate;
 
    /**
     * 含税单价
     */
    private BigDecimal taxInclusiveUnitPrice;
 
    /**
     * 含税总价
     */
    private BigDecimal taxInclusiveTotalPrice;
 
    /**
     * 不含税总价
     */
    private BigDecimal taxExclusiveTotalPrice;
 
    /**
     * 发票类型
     */
    private String invoiceType;
 
    /**
     * 1.销售台账,2.采购台账
     */
    private String type;
 
    /**
     * 本次来票数
     */
    private Long ticketsNum;
 
    /**
     * 本次来票金额(元)
     */
    private BigDecimal ticketsAmount;
 
    /**
     * 未来票数
     */
    private Long futureTickets;
 
    /**
     * 未来票金额(元)
     */
    private BigDecimal futureTicketsAmount;
 
    /**
     * 产品id
     */
    private Long productId;
 
    /**
     * 型号id
     */
    private Long productModelId;
 
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createdAt;
 
    @TableField(fill = FieldFill.INSERT)
    private Integer tenantId;
}