7 天以前 11214e3074266a23fe61e8eebbce647fdb7305ef
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
package com.ruoyi.sales.pojo;
 
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
import java.math.BigDecimal;
import java.time.LocalDateTime;
 
/**
 * 销售报价降价记录
 */
@Data
@TableName("sales_quotation_price_history")
@Schema(description = "销售报价降价记录")
public class SalesQuotationPriceHistory {
 
    @TableId(value = "id", type = IdType.AUTO)
    @Schema(description = "主键ID")
    private Long id;
 
    @Schema(description = "报价单ID")
    private Long quotationId;
 
    @Schema(description = "报价商品ID")
    private Long quotationProductId;
 
    @Schema(description = "商品名称")
    private String productName;
 
    @Schema(description = "商品规格")
    private String specification;
 
    @Schema(description = "原单价")
    private BigDecimal oldPrice;
 
    @Schema(description = "新单价")
    private BigDecimal newPrice;
 
    @Schema(description = "价格变动(新-旧,负数表示降价)")
    private BigDecimal priceChange;
 
    @Schema(description = "变动原因")
    private String changeReason;
 
    @Schema(description = "导入批次号")
    private String importBatch;
 
    @Schema(description = "导入时间")
    private LocalDateTime importTime;
 
    @Schema(description = "操作人ID")
    private Long createUser;
 
    @Schema(description = "操作人姓名")
    private String createUserName;
 
    @Schema(description = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
 
    @Schema(description = "租户ID")
    @TableField(fill = FieldFill.INSERT)
    private Long tenantId;
 
    @Schema(description = "部门ID")
    @TableField(fill = FieldFill.INSERT)
    private Long deptId;
}