yuan
4 天以前 3436929ce8f22fe0bb68a19a7d37412b34fca061
src/main/java/com/ruoyi/basic/pojo/Customer.java
@@ -1,7 +1,10 @@
package com.ruoyi.basic.pojo;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.Date;
import java.util.List;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
@@ -31,6 +34,10 @@
     */
    @Excel(name = "客户名称")
    private String customerName;
    /** 客户分类:零售客户,进销商客户 */
    @Excel(name = "客户分类")
    private String customerType;
    /**
     * 纳税人识别号
@@ -85,11 +92,41 @@
    private String addressPhone;
    @ApiModelProperty(value = "银行基本户")
    @Excel(name = "银行基本户")
    private String basicBankAccount;
    @ApiModelProperty(value = "银行账号")
    @Excel(name = "银行账号")
    private String bankAccount;
    @ApiModelProperty(value = "开户行号")
    @Excel(name = "开户行号")
    private String bankCode;
    @ApiModelProperty(value = "客户偏好")
    private String preferences;
    @ApiModelProperty(value = "是否价格敏感")
    @Excel(name = "是否价格敏感")
    private Boolean isPriceSensitive;
    @ApiModelProperty(value = "是否会员")
    @Excel(name = "是否会员")
    private Boolean isVip;
    @TableField(exist = false)
    @ApiModelProperty(value = "购买次数")
    private Integer purchaseCount;
    @TableField(exist = false)
    @ApiModelProperty(value = "平均金额")
    private BigDecimal averageAmount;
    @TableField(exist = false)
    @ApiModelProperty(value = "最近购买时间")
    private LocalDate latestPurchaseTime;
    @TableField(exist = false)
    @ApiModelProperty(value = "常购产品")
    private List<String> topProducts;
}