Files
klp-oa/klp-crm/src/main/java/com/klp/crm/domain/CrmCustomer.java
Joshi e553bfcb22 feat(crm): 添加客户纳税人识别号字段支持
- 在 CrmCustomer 实体类中新增 taxNumber 字段
- 在 CrmCustomerBo 业务对象中添加 taxNumber 属性
- 在 CrmCustomerVo 视图对象中增加 taxNumber 并配置 Excel 导出
- 更新 MyBatis 映射文件 CrmCustomerMapper.xml 添加字段映射
- 在查询条件构建中加入纳税人识别号的过滤逻辑
2026-03-30 12:57:57 +08:00

74 lines
1.4 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package com.klp.crm.domain;
import com.baomidou.mybatisplus.annotation.*;
import com.klp.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
* 客户信息对象 crm_customer
*
* @author klp
* @date 2025-12-15
*/
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("crm_customer")
public class CrmCustomer extends BaseEntity {
private static final long serialVersionUID=1L;
/**
* 客户ID主键
*/
@TableId(value = "customer_id")
private Long customerId;
/**
* 客户统一编码
*/
private String customerCode;
/**
* 公司名称
*/
private String companyName;
/**
* 联系人
*/
private String contactPerson;
/**
* 联系方式(电话/微信等)
*/
private String contactWay;
/**
* 所属行业
*/
private String industry;
/**
* 客户等级VIP/普通)
*/
private String customerLevel;
/**
* 客户地址(需权限查看)
*/
private String address;
/**
* 银行信息多条需权限查看JSON格式存储
*/
private String bankInfo;
/**
* 纳税人识别号/税号
*/
private String taxNumber;
/**
* 备注
*/
private String remark;
/**
* 删除标识 0正常 2删除
*/
@TableLogic
private Long delFlag;
}