feat(wms): 添加客户管理功能
- 新增客户管理相关的实体类、Mapper、Service、Controller- 实现客户信息的增删查改功能 - 添加客户信息导出功能 - 集成权限控制和数据校验
This commit is contained in:
145
klp-wms/src/main/java/com/klp/domain/vo/WmsCustomerVo.java
Normal file
145
klp-wms/src/main/java/com/klp/domain/vo/WmsCustomerVo.java
Normal file
@@ -0,0 +1,145 @@
|
||||
package com.klp.domain.vo;
|
||||
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
|
||||
import com.alibaba.excel.annotation.ExcelProperty;
|
||||
import com.klp.common.annotation.ExcelDictFormat;
|
||||
import com.klp.common.convert.ExcelDictConvert;
|
||||
import lombok.Data;
|
||||
|
||||
|
||||
/**
|
||||
* CRM 客户视图对象 wms_customer
|
||||
*
|
||||
* @author Joshi
|
||||
* @date 2025-08-12
|
||||
*/
|
||||
@Data
|
||||
@ExcelIgnoreUnannotated
|
||||
public class WmsCustomerVo {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 编号,主键自增
|
||||
*/
|
||||
@ExcelProperty(value = "编号,主键自增")
|
||||
private Long customerId;
|
||||
|
||||
/**
|
||||
* 客户名称
|
||||
*/
|
||||
@ExcelProperty(value = "客户名称")
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 跟进状态
|
||||
*/
|
||||
@ExcelProperty(value = "跟进状态")
|
||||
private Integer followUpStatus;
|
||||
|
||||
/**
|
||||
* 最后跟进时间
|
||||
*/
|
||||
@ExcelProperty(value = "最后跟进时间")
|
||||
private Date contactLastTime;
|
||||
|
||||
/**
|
||||
* 最后跟进内容
|
||||
*/
|
||||
@ExcelProperty(value = "最后跟进内容")
|
||||
private String contactLastContent;
|
||||
|
||||
/**
|
||||
* 下次联系时间
|
||||
*/
|
||||
@ExcelProperty(value = "下次联系时间")
|
||||
private Date contactNextTime;
|
||||
|
||||
/**
|
||||
* 负责人的用户编号
|
||||
*/
|
||||
@ExcelProperty(value = "负责人的用户编号")
|
||||
private Long ownerUserId;
|
||||
|
||||
/**
|
||||
* 成为负责人的时间
|
||||
*/
|
||||
@ExcelProperty(value = "成为负责人的时间")
|
||||
private Date ownerTime;
|
||||
|
||||
/**
|
||||
* 成交状态
|
||||
*/
|
||||
@ExcelProperty(value = "成交状态")
|
||||
private Long dealStatus;
|
||||
|
||||
/**
|
||||
* 手机
|
||||
*/
|
||||
@ExcelProperty(value = "手机")
|
||||
private String mobile;
|
||||
|
||||
/**
|
||||
* 电话
|
||||
*/
|
||||
@ExcelProperty(value = "电话")
|
||||
private String telephone;
|
||||
|
||||
/**
|
||||
* QQ
|
||||
*/
|
||||
@ExcelProperty(value = "QQ")
|
||||
private String qq;
|
||||
|
||||
/**
|
||||
* 微信
|
||||
*/
|
||||
@ExcelProperty(value = "微信")
|
||||
private String wechat;
|
||||
|
||||
/**
|
||||
* 邮箱
|
||||
*/
|
||||
@ExcelProperty(value = "邮箱")
|
||||
private String email;
|
||||
|
||||
/**
|
||||
* 地区编号
|
||||
*/
|
||||
@ExcelProperty(value = "地区编号")
|
||||
private Long areaId;
|
||||
|
||||
/**
|
||||
* 详细地址
|
||||
*/
|
||||
@ExcelProperty(value = "详细地址")
|
||||
private String detailAddress;
|
||||
|
||||
/**
|
||||
* 所属行业
|
||||
*/
|
||||
@ExcelProperty(value = "所属行业")
|
||||
private Long industryId;
|
||||
|
||||
/**
|
||||
* 客户等级
|
||||
*/
|
||||
@ExcelProperty(value = "客户等级")
|
||||
private Long level;
|
||||
|
||||
/**
|
||||
* 客户来源
|
||||
*/
|
||||
@ExcelProperty(value = "客户来源")
|
||||
private Long source;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
@ExcelProperty(value = "备注")
|
||||
private String remark;
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user