2025-12-15 16:11:16 +08:00
|
|
|
|
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")
|
2026-01-10 18:17:28 +08:00
|
|
|
|
private Long customerId;
|
2025-12-15 16:11:16 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* 客户统一编码
|
|
|
|
|
|
*/
|
|
|
|
|
|
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;
|
2026-03-30 12:57:57 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* 纳税人识别号/税号
|
|
|
|
|
|
*/
|
|
|
|
|
|
private String taxNumber;
|
2025-12-15 16:11:16 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* 备注
|
|
|
|
|
|
*/
|
|
|
|
|
|
private String remark;
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 删除标识 0正常 2删除
|
|
|
|
|
|
*/
|
|
|
|
|
|
@TableLogic
|
|
|
|
|
|
private Long delFlag;
|
|
|
|
|
|
|
|
|
|
|
|
}
|