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 1/2] =?UTF-8?q?=E5=AE=A2=E6=88=B7=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E6=9E=9A=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; + +} From 341e831e710ab5b81d411029bcdfe8da7b4f14ed Mon Sep 17 00:00:00 2001 From: shijie <648688341@qq.com> Date: Tue, 8 Sep 2020 17:03:20 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/daqing/framework/domain/crms/ext/CrmsConstant.java | 6 ++++++ 1 file changed, 6 insertions(+) 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 index b8c708a5..116af1ec 100644 --- 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 @@ -4,6 +4,12 @@ import lombok.AllArgsConstructor; import lombok.Getter; import lombok.Setter; +/** + * @Author: gongsj. + * @Description: 定义客户资源管理系统的一些常量 + * @Date:Created in 2020/09/08 17:05. + * @Modified By: + */ public class CrmsConstant { /**