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; + +}