|
@@ -1,4 +1,4 @@
|
|
-package org.jeecg.modules.miliCustomer.entity;
|
|
|
|
|
|
+package org.jeecg.modules.mili.customer.entity;
|
|
|
|
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
@@ -13,174 +13,188 @@ import org.jeecg.common.aspect.annotation.Dict;
|
|
import org.jeecgframework.poi.excel.annotation.Excel;
|
|
import org.jeecgframework.poi.excel.annotation.Excel;
|
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
|
|
|
|
|
|
+import javax.persistence.Transient;
|
|
import java.io.Serializable;
|
|
import java.io.Serializable;
|
|
import java.io.UnsupportedEncodingException;
|
|
import java.io.UnsupportedEncodingException;
|
|
|
|
+import java.util.Date;
|
|
|
|
|
|
/**
|
|
/**
|
|
- * @Description: 潜客管理
|
|
|
|
|
|
+ * @Description: 公池管理
|
|
* @Author: jeecg-boot
|
|
* @Author: jeecg-boot
|
|
- * @Date: 2022-07-05
|
|
|
|
|
|
+ * @Date: 2022-06-27
|
|
* @Version: V1.0
|
|
* @Version: V1.0
|
|
*/
|
|
*/
|
|
@Data
|
|
@Data
|
|
-@TableName("customer_potential")
|
|
|
|
|
|
+@TableName("customer_info")
|
|
@Accessors(chain = true)
|
|
@Accessors(chain = true)
|
|
@EqualsAndHashCode(callSuper = false)
|
|
@EqualsAndHashCode(callSuper = false)
|
|
-@ApiModel(value="customer_potential对象", description="潜客管理")
|
|
|
|
-public class CustomerPotential implements Serializable {
|
|
|
|
|
|
+@ApiModel(value="customer_info对象", description="公池管理")
|
|
|
|
+public class CustomerInfo implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
|
|
- /**主键*/
|
|
|
|
|
|
+ /**id*/
|
|
@TableId(type = IdType.ASSIGN_ID)
|
|
@TableId(type = IdType.ASSIGN_ID)
|
|
- @ApiModelProperty(value = "主键")
|
|
|
|
- private java.lang.String id;
|
|
|
|
|
|
+ @ApiModelProperty(value = "id")
|
|
|
|
+ private String id;
|
|
/**创建人*/
|
|
/**创建人*/
|
|
@ApiModelProperty(value = "创建人")
|
|
@ApiModelProperty(value = "创建人")
|
|
- private java.lang.String createBy;
|
|
|
|
- /**创建日期*/
|
|
|
|
- @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
|
- @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
|
|
|
|
|
+ private String createBy;
|
|
|
|
+
|
|
|
|
+ /**创建日期*/
|
|
|
|
+ @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
|
|
|
|
+ @DateTimeFormat(pattern="yyyy-MM-dd")
|
|
@ApiModelProperty(value = "创建日期")
|
|
@ApiModelProperty(value = "创建日期")
|
|
- private java.util.Date createTime;
|
|
|
|
|
|
+ private Date createTime;
|
|
/**更新人*/
|
|
/**更新人*/
|
|
@ApiModelProperty(value = "更新人")
|
|
@ApiModelProperty(value = "更新人")
|
|
- private java.lang.String updateBy;
|
|
|
|
|
|
+ private String updateBy;
|
|
/**更新日期*/
|
|
/**更新日期*/
|
|
- @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
|
- @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
|
|
|
|
|
+ @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
|
|
|
|
+ @DateTimeFormat(pattern="yyyy-MM-dd")
|
|
@ApiModelProperty(value = "更新日期")
|
|
@ApiModelProperty(value = "更新日期")
|
|
- private java.util.Date updateTime;
|
|
|
|
|
|
+ private Date updateTime;
|
|
/**所属部门*/
|
|
/**所属部门*/
|
|
@ApiModelProperty(value = "所属部门")
|
|
@ApiModelProperty(value = "所属部门")
|
|
- private java.lang.String sysOrgCode;
|
|
|
|
|
|
+ private String sysOrgCode;
|
|
/**校区ID*/
|
|
/**校区ID*/
|
|
@Excel(name = "校区ID", width = 15, dictTable = "school_organization", dicText = "name", dicCode = "id")
|
|
@Excel(name = "校区ID", width = 15, dictTable = "school_organization", dicText = "name", dicCode = "id")
|
|
@Dict(dictTable = "school_organization", dicText = "name", dicCode = "id")
|
|
@Dict(dictTable = "school_organization", dicText = "name", dicCode = "id")
|
|
@ApiModelProperty(value = "校区ID")
|
|
@ApiModelProperty(value = "校区ID")
|
|
- private java.lang.Integer schoolDistrictId;
|
|
|
|
|
|
+ private Integer schoolDistrictId;
|
|
/**姓名*/
|
|
/**姓名*/
|
|
@Excel(name = "姓名", width = 15)
|
|
@Excel(name = "姓名", width = 15)
|
|
@ApiModelProperty(value = "姓名")
|
|
@ApiModelProperty(value = "姓名")
|
|
- private java.lang.String name;
|
|
|
|
|
|
+ private String name;
|
|
/**昵称*/
|
|
/**昵称*/
|
|
@Excel(name = "昵称", width = 15)
|
|
@Excel(name = "昵称", width = 15)
|
|
@ApiModelProperty(value = "昵称")
|
|
@ApiModelProperty(value = "昵称")
|
|
- private java.lang.String nickname;
|
|
|
|
|
|
+ private String nickname;
|
|
|
|
+ /**学员类型*/
|
|
|
|
+ @Excel(name = "学员类型", width = 15, dicCode = "customer_pc_type")
|
|
|
|
+ @Dict(dicCode = "customer_pc_type")
|
|
|
|
+ @ApiModelProperty(value = "学员类型")
|
|
|
|
+ private Integer type;
|
|
/**性别*/
|
|
/**性别*/
|
|
@Excel(name = "性别", width = 15, dicCode = "sex")
|
|
@Excel(name = "性别", width = 15, dicCode = "sex")
|
|
@Dict(dicCode = "sex")
|
|
@Dict(dicCode = "sex")
|
|
@ApiModelProperty(value = "性别")
|
|
@ApiModelProperty(value = "性别")
|
|
- private java.lang.Integer sex;
|
|
|
|
|
|
+ private Integer sex;
|
|
/**家长姓名*/
|
|
/**家长姓名*/
|
|
@Excel(name = "家长姓名", width = 15)
|
|
@Excel(name = "家长姓名", width = 15)
|
|
@ApiModelProperty(value = "家长姓名")
|
|
@ApiModelProperty(value = "家长姓名")
|
|
- private java.lang.String contactName;
|
|
|
|
|
|
+ private String contactName;
|
|
/**家长电话*/
|
|
/**家长电话*/
|
|
@Excel(name = "家长电话", width = 15)
|
|
@Excel(name = "家长电话", width = 15)
|
|
@ApiModelProperty(value = "家长电话")
|
|
@ApiModelProperty(value = "家长电话")
|
|
- private java.lang.String contactPhone;
|
|
|
|
|
|
+ private String contactPhone;
|
|
/**备选联系人1*/
|
|
/**备选联系人1*/
|
|
@Excel(name = "备选联系人1", width = 15)
|
|
@Excel(name = "备选联系人1", width = 15)
|
|
@ApiModelProperty(value = "备选联系人1")
|
|
@ApiModelProperty(value = "备选联系人1")
|
|
- private java.lang.String contact1Name;
|
|
|
|
|
|
+ private String contact1Name;
|
|
/**备选联系人1电话*/
|
|
/**备选联系人1电话*/
|
|
@Excel(name = "备选联系人1电话", width = 15)
|
|
@Excel(name = "备选联系人1电话", width = 15)
|
|
@ApiModelProperty(value = "备选联系人1电话")
|
|
@ApiModelProperty(value = "备选联系人1电话")
|
|
- private java.lang.String contact1Phone;
|
|
|
|
|
|
+ private String contact1Phone;
|
|
/**备选联系人2*/
|
|
/**备选联系人2*/
|
|
@Excel(name = "备选联系人2", width = 15)
|
|
@Excel(name = "备选联系人2", width = 15)
|
|
@ApiModelProperty(value = "备选联系人2")
|
|
@ApiModelProperty(value = "备选联系人2")
|
|
- private java.lang.String contact2Name;
|
|
|
|
|
|
+ private String contact2Name;
|
|
/**备选联系人2电话*/
|
|
/**备选联系人2电话*/
|
|
@Excel(name = "备选联系人2电话", width = 15)
|
|
@Excel(name = "备选联系人2电话", width = 15)
|
|
@ApiModelProperty(value = "备选联系人2电话")
|
|
@ApiModelProperty(value = "备选联系人2电话")
|
|
- private java.lang.String contact2Phone;
|
|
|
|
|
|
+ private String contact2Phone;
|
|
/**年龄*/
|
|
/**年龄*/
|
|
@Excel(name = "年龄", width = 15)
|
|
@Excel(name = "年龄", width = 15)
|
|
@ApiModelProperty(value = "年龄")
|
|
@ApiModelProperty(value = "年龄")
|
|
- private java.lang.Integer age;
|
|
|
|
|
|
+ private Integer age;
|
|
/**生日*/
|
|
/**生日*/
|
|
@Excel(name = "生日", width = 15, format = "yyyy-MM-dd")
|
|
@Excel(name = "生日", width = 15, format = "yyyy-MM-dd")
|
|
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
|
|
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
|
|
@DateTimeFormat(pattern="yyyy-MM-dd")
|
|
@DateTimeFormat(pattern="yyyy-MM-dd")
|
|
@ApiModelProperty(value = "生日")
|
|
@ApiModelProperty(value = "生日")
|
|
- private java.util.Date birthday;
|
|
|
|
|
|
+ private Date birthday;
|
|
/**学校*/
|
|
/**学校*/
|
|
@Excel(name = "学校", width = 15, dictTable = "school_school", dicText = "name", dicCode = "id")
|
|
@Excel(name = "学校", width = 15, dictTable = "school_school", dicText = "name", dicCode = "id")
|
|
@Dict(dictTable = "school_school", dicText = "name", dicCode = "id")
|
|
@Dict(dictTable = "school_school", dicText = "name", dicCode = "id")
|
|
@ApiModelProperty(value = "学校")
|
|
@ApiModelProperty(value = "学校")
|
|
- private java.lang.String school;
|
|
|
|
|
|
+ private String school;
|
|
/**年级*/
|
|
/**年级*/
|
|
- @Excel(name = "年级", width = 15, dicCode = "grade")
|
|
|
|
- @Dict(dicCode = "grade")
|
|
|
|
|
|
+ @Excel(name = "年级", width = 15, dicCode = "customer_grade")
|
|
|
|
+ @Dict(dicCode = "customer_grade")
|
|
@ApiModelProperty(value = "年级")
|
|
@ApiModelProperty(value = "年级")
|
|
- private java.lang.String grade;
|
|
|
|
|
|
+ private String grade;
|
|
/**班级*/
|
|
/**班级*/
|
|
@Excel(name = "班级", width = 15)
|
|
@Excel(name = "班级", width = 15)
|
|
@ApiModelProperty(value = "班级")
|
|
@ApiModelProperty(value = "班级")
|
|
- private java.lang.String classes;
|
|
|
|
|
|
+ private String classes;
|
|
/**身份证*/
|
|
/**身份证*/
|
|
@Excel(name = "身份证", width = 15)
|
|
@Excel(name = "身份证", width = 15)
|
|
@ApiModelProperty(value = "身份证")
|
|
@ApiModelProperty(value = "身份证")
|
|
- private java.lang.String idCard;
|
|
|
|
|
|
+ private String idCard;
|
|
/**住址*/
|
|
/**住址*/
|
|
@Excel(name = "住址", width = 15)
|
|
@Excel(name = "住址", width = 15)
|
|
@ApiModelProperty(value = "住址")
|
|
@ApiModelProperty(value = "住址")
|
|
- private java.lang.String address;
|
|
|
|
|
|
+ private String address;
|
|
/**渠道类型*/
|
|
/**渠道类型*/
|
|
@Excel(name = "渠道类型", width = 15, dictTable = "promotion_channel", dicText = "name", dicCode = "id")
|
|
@Excel(name = "渠道类型", width = 15, dictTable = "promotion_channel", dicText = "name", dicCode = "id")
|
|
@Dict(dictTable = "promotion_channel", dicText = "name", dicCode = "id")
|
|
@Dict(dictTable = "promotion_channel", dicText = "name", dicCode = "id")
|
|
@ApiModelProperty(value = "渠道类型")
|
|
@ApiModelProperty(value = "渠道类型")
|
|
- private java.lang.String channelType;
|
|
|
|
|
|
+ private String channelType;
|
|
/**意向课程*/
|
|
/**意向课程*/
|
|
- @Excel(name = "意向课程", width = 15, dictTable = "school_curriculum", dicText = "name", dicCode = "id")
|
|
|
|
- @Dict(dictTable = "school_curriculum", dicText = "name", dicCode = "id")
|
|
|
|
|
|
+ @Excel(name = "意向课程", width = 15, dictTable = "education_course", dicText = "name", dicCode = "id")
|
|
|
|
+ @Dict(dictTable = "education_course", dicText = "name", dicCode = "id")
|
|
@ApiModelProperty(value = "意向课程")
|
|
@ApiModelProperty(value = "意向课程")
|
|
- private java.lang.String intendedCourse;
|
|
|
|
|
|
+ private String intendedCourse;
|
|
/**意向度*/
|
|
/**意向度*/
|
|
- @Excel(name = "意向度", width = 15, dicCode = "intention_status")
|
|
|
|
- @Dict(dicCode = "intention_status")
|
|
|
|
|
|
+ @Excel(name = "意向度", width = 15,dicCode = "customer_intention_status")
|
|
|
|
+ @Dict(dicCode = "customer_intention_status")
|
|
@ApiModelProperty(value = "意向度")
|
|
@ApiModelProperty(value = "意向度")
|
|
- private java.lang.Integer intendedDegress;
|
|
|
|
|
|
+ private Integer intendedDegress;
|
|
/**顾问*/
|
|
/**顾问*/
|
|
@Excel(name = "顾问", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "username")
|
|
@Excel(name = "顾问", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "username")
|
|
@Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username")
|
|
@Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username")
|
|
@ApiModelProperty(value = "顾问")
|
|
@ApiModelProperty(value = "顾问")
|
|
- private java.lang.String saleCode;
|
|
|
|
|
|
+ private String saleCode;
|
|
/**推荐人*/
|
|
/**推荐人*/
|
|
- @Excel(name = "推荐人", width = 15)
|
|
|
|
|
|
+ @Excel(name = "推荐人", width = 15 ,dictTable = "sys_user", dicText = "realname", dicCode = "username")
|
|
|
|
+ @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username")
|
|
@ApiModelProperty(value = "推荐人")
|
|
@ApiModelProperty(value = "推荐人")
|
|
- private java.lang.String referencesPhone;
|
|
|
|
|
|
+ private String referencesPhone;
|
|
/**采单员*/
|
|
/**采单员*/
|
|
@Excel(name = "采单员", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "username")
|
|
@Excel(name = "采单员", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "username")
|
|
@Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username")
|
|
@Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username")
|
|
@ApiModelProperty(value = "采单员")
|
|
@ApiModelProperty(value = "采单员")
|
|
- private java.lang.String collectinoCode;
|
|
|
|
|
|
+ private String collectinoCode;
|
|
/**状态*/
|
|
/**状态*/
|
|
- @Excel(name = "状态", width = 15, dicCode = "pc_status")
|
|
|
|
- @Dict(dicCode = "pc_status")
|
|
|
|
|
|
+ @Excel(name = "状态", width = 15, dicCode = "customer_pc_status")
|
|
|
|
+ @Dict(dicCode = "customer_pc_status")
|
|
@ApiModelProperty(value = "状态")
|
|
@ApiModelProperty(value = "状态")
|
|
- private java.lang.Integer status;
|
|
|
|
|
|
+ private Integer status;
|
|
/**跟进状态*/
|
|
/**跟进状态*/
|
|
- @Excel(name = "跟进状态", width = 15, dicCode = "pc_follow_status")
|
|
|
|
- @Dict(dicCode = "pc_follow_status")
|
|
|
|
|
|
+ @Excel(name = "跟进状态", width = 15, dicCode = "customer_follow_status")
|
|
|
|
+ @Dict(dicCode = "customer_follow_status")
|
|
@ApiModelProperty(value = "跟进状态")
|
|
@ApiModelProperty(value = "跟进状态")
|
|
- private java.lang.Integer followStatus;
|
|
|
|
|
|
+ private Integer followStatus;
|
|
/**上次跟进*/
|
|
/**上次跟进*/
|
|
- @Excel(name = "上次跟进", width = 20, format = "yyyy-MM-dd HH:mm:ss")
|
|
|
|
|
|
+ @Excel(name = "上次跟进", width = 15, format = "yyyy-MM-dd HH:mm:ss")
|
|
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
|
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
|
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
|
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
|
@ApiModelProperty(value = "上次跟进")
|
|
@ApiModelProperty(value = "上次跟进")
|
|
- private java.util.Date lastFollowTime;
|
|
|
|
|
|
+ private Date lastFollowTime;
|
|
/**下次跟进*/
|
|
/**下次跟进*/
|
|
- @Excel(name = "下次跟进", width = 20, format = "yyyy-MM-dd")
|
|
|
|
|
|
+ @Excel(name = "下次跟进", width = 15, format = "yyyy-MM-dd")
|
|
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
|
|
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
|
|
@DateTimeFormat(pattern="yyyy-MM-dd")
|
|
@DateTimeFormat(pattern="yyyy-MM-dd")
|
|
@ApiModelProperty(value = "下次跟进")
|
|
@ApiModelProperty(value = "下次跟进")
|
|
- private java.util.Date nextFollowTime;
|
|
|
|
|
|
+ private Date nextFollowTime;
|
|
/**备注*/
|
|
/**备注*/
|
|
@Excel(name = "备注", width = 15)
|
|
@Excel(name = "备注", width = 15)
|
|
- private transient java.lang.String markString;
|
|
|
|
|
|
+ private transient String markString;
|
|
|
|
+
|
|
|
|
+ @Transient //不映射
|
|
|
|
+ private transient String follow_log;
|
|
|
|
+
|
|
|
|
+
|
|
|
|
|
|
private byte[] mark;
|
|
private byte[] mark;
|
|
|
|
|
|
@@ -196,12 +210,12 @@ public class CustomerPotential implements Serializable {
|
|
return null;
|
|
return null;
|
|
}
|
|
}
|
|
|
|
|
|
- public String getMarkString(){
|
|
|
|
- if(mark==null || mark.length==0){
|
|
|
|
|
|
+ public String getMarkString() {
|
|
|
|
+ if (mark == null || mark.length == 0) {
|
|
return "";
|
|
return "";
|
|
}
|
|
}
|
|
try {
|
|
try {
|
|
- return new String(mark,"UTF-8");
|
|
|
|
|
|
+ return new String(mark, "UTF-8");
|
|
} catch (UnsupportedEncodingException e) {
|
|
} catch (UnsupportedEncodingException e) {
|
|
e.printStackTrace();
|
|
e.printStackTrace();
|
|
}
|
|
}
|