From 24a74e331dff431929d2f3b26c164bee692deb63 Mon Sep 17 00:00:00 2001 From: shijie <648688341@qq.com> Date: Tue, 8 Sep 2020 17:01:32 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A2=E6=88=B7=E7=B1=BB=E5=9E=8B=E6=9E=9A?= =?UTF-8?q?=E4=B8=BE=E7=B1=BB=E5=AE=9A=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../framework/domain/crms/CustomerEntity.java | 2 +- .../domain/crms/ext/CrmsConstant.java | 37 +++++++++++++++++++ .../domain/crms/request/CustomerRequest.java | 33 +++++++++++++++++ 3 files changed, 71 insertions(+), 1 deletion(-) create mode 100644 dq-framework-model/src/main/java/com/daqing/framework/domain/crms/ext/CrmsConstant.java create mode 100644 dq-framework-model/src/main/java/com/daqing/framework/domain/crms/request/CustomerRequest.java diff --git a/dq-framework-model/src/main/java/com/daqing/framework/domain/crms/CustomerEntity.java b/dq-framework-model/src/main/java/com/daqing/framework/domain/crms/CustomerEntity.java index cf1beb22..86210c84 100644 --- a/dq-framework-model/src/main/java/com/daqing/framework/domain/crms/CustomerEntity.java +++ b/dq-framework-model/src/main/java/com/daqing/framework/domain/crms/CustomerEntity.java @@ -29,7 +29,7 @@ public class CustomerEntity implements Serializable { */ private String code; /** - * 客户类型 + * 客户类型:1、企业类型,0:个人类型 */ private Integer type; /** diff --git a/dq-framework-model/src/main/java/com/daqing/framework/domain/crms/ext/CrmsConstant.java b/dq-framework-model/src/main/java/com/daqing/framework/domain/crms/ext/CrmsConstant.java new file mode 100644 index 00000000..b8c708a5 --- /dev/null +++ b/dq-framework-model/src/main/java/com/daqing/framework/domain/crms/ext/CrmsConstant.java @@ -0,0 +1,37 @@ +package com.daqing.framework.domain.crms.ext; + +import lombok.AllArgsConstructor; +import lombok.Getter; +import lombok.Setter; + +public class CrmsConstant { + + /** + * 客户类型:1、企业类型,0:个人类型 + */ + @AllArgsConstructor + public enum customerType { + /** + * 个人类型 + */ + PONSONAL_CUSTOMER(0, "个人类型"), + /** + * 企业类型 + */ + COMPANY_CUSTOMER(1, "企业类型"); + + /** + * 类型代号 + */ + @Setter + @Getter + private Integer type; + + /** + * 类型名称 + */ + @Setter + @Getter + private String typeName; + } +} diff --git a/dq-framework-model/src/main/java/com/daqing/framework/domain/crms/request/CustomerRequest.java b/dq-framework-model/src/main/java/com/daqing/framework/domain/crms/request/CustomerRequest.java new file mode 100644 index 00000000..c9cc84d0 --- /dev/null +++ b/dq-framework-model/src/main/java/com/daqing/framework/domain/crms/request/CustomerRequest.java @@ -0,0 +1,33 @@ +package com.daqing.framework.domain.crms.request; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; +import lombok.Data; + +import java.io.Serializable; +import java.util.Date; + +/** + * 记录客户基本信息 + * + * @author gongsj + * @email gongsj@gmail.com + * @date 2020-09-08 11:23:28 + */ +@Data +public class CustomerRequest implements Serializable { + + /** + * 创建时间 + */ + private Integer createTime; + /** + * 起始时间 + */ + private String startTime; + /** + * 结束时间 + */ + private String endTime; + +}