chenrui
6 天以前 d1903c17568e1c373ca37a8baddbefbc330d12bf
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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
package com.ruoyi.sales.pojo;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import java.math.BigDecimal;
 
/**
 * 产品信息对象 sales_ledger_product
 *
 * @author ruoyi
 * @date 2025-05-08
 */
@TableName("sales_ledger_product")
@Data
public class SalesLedgerProduct {
    private static final long serialVersionUID = 1L;
 
    /**
     * 产品信息主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
 
    /**
     * 关联销售台账主表主键
     */
    @Excel(name = "关联销售台账主表主键")
    private Long salesLedgerId;
 
    /**
     * 产品大类
     */
    @Excel(name = "产品大类")
    private String productCategory;
 
    /**
     * 规格型号
     */
    @Excel(name = "规格型号")
    private String specificationModel;
 
    /**
     * 单位
     */
    @Excel(name = "单位")
    private String unit;
 
    /**
     * 数量
     */
    @Excel(name = "数量")
    private BigDecimal quantity;
 
    /**
     * 税率
     */
    @Excel(name = "税率")
    private BigDecimal taxRate;
 
    /**
     * 含税单价
     */
    @Excel(name = "含税单价")
    private BigDecimal taxInclusiveUnitPrice;
 
    /**
     * 含税总价
     */
    @Excel(name = "含税总价")
    private BigDecimal taxInclusiveTotalPrice;
 
    /**
     * 不含税总价
     */
    @Excel(name = "不含税总价")
    private BigDecimal taxExclusiveTotalPrice;
 
    /**
     * 发票类型
     */
    @Excel(name = "发票类型")
    private String invoiceType;
 
    /**
     * 台账类型 1.销售 2,采购
     */
    private Integer type;
 
    /**
     * 本次来票数
     */
    private Long ticketsNum;
 
    /**
     * 本次来票金额(元)
     */
    private BigDecimal ticketsAmount;
 
    /**
     * 未来票数
     */
    private Long futureTickets;
 
    /**
     * 未来票金额(元)
     */
    private BigDecimal futureTicketsAmount;
 
    @ApiModelProperty(value = "开票数")
    private Integer invoiceNum;
 
    @ApiModelProperty(value = "未开票数")
    private Integer noInvoiceNum;
 
    @ApiModelProperty(value = "开票金额")
    private BigDecimal invoiceAmount;
 
    @ApiModelProperty(value = "未开票金额")
    private BigDecimal noInvoiceAmount;
 
    @ApiModelProperty(value = "本次开票数")
    @TableField(exist = false)
    private Integer currentInvoiceNum;
 
    @TableField(exist = false)
    @ApiModelProperty(value = "本次开票金额")
    private BigDecimal currentInvoiceAmount;
 
    /**
     *  产品id
     */
    private Long productId;
 
    /**
     * 产品规格id
     */
    private Long productModelId;
 
    @ApiModelProperty(value = "初始未开票数")
    @TableField(exist = false)
    private Integer originalNoInvoiceNum;
}