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;
|
}
|