CusFollowResponse.java 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295
  1. package com.dk.mdm.model.response.mst;
  2. import cn.afterturn.easypoi.excel.annotation.Excel;
  3. import com.alibaba.fastjson.JSONArray;
  4. import com.alibaba.fastjson.JSONObject;
  5. import com.baomidou.mybatisplus.annotation.FieldFill;
  6. import com.baomidou.mybatisplus.annotation.TableField;
  7. import com.baomidou.mybatisplus.annotation.TableName;
  8. import com.dk.common.infrastructure.annotaiton.ExportTitle;
  9. import com.dk.common.infrastructure.handler.JsonTypeHandler;
  10. import com.dk.common.infrastructure.handler.TimestampTypeHandler;
  11. import com.dk.common.infrastructure.handler.UuidTypeHandler;
  12. import com.fasterxml.jackson.annotation.JsonFormat;
  13. import io.swagger.annotations.ApiModel;
  14. import io.swagger.annotations.ApiModelProperty;
  15. import io.swagger.models.auth.In;
  16. import lombok.AllArgsConstructor;
  17. import lombok.Data;
  18. import lombok.NoArgsConstructor;
  19. import lombok.experimental.Accessors;
  20. import java.io.Serializable;
  21. import java.time.LocalDateTime;
  22. /**
  23. * 客户跟进
  24. */
  25. @Data
  26. @AllArgsConstructor
  27. @NoArgsConstructor
  28. @Accessors(chain = true)
  29. @ExportTitle("客户跟进")
  30. @TableName(value = "t_crm_cus_follow", autoResultMap = true)
  31. @ApiModel(value="实体类:客户跟进", description="表名:t_crm_cus_follow")
  32. public class CusFollowResponse implements Serializable {
  33. /*
  34. * 数据库字段
  35. */
  36. /**
  37. * 跟进ID
  38. */
  39. @ApiModelProperty(value = "跟进ID")
  40. @TableField(typeHandler = UuidTypeHandler.class)
  41. private String followId;
  42. /**
  43. * 客户ID (陌生接待时为null)
  44. */
  45. @Excel(name = "客户ID (陌生接待时为null)")
  46. @ApiModelProperty(value = "客户ID (陌生接待时为null)")
  47. @TableField(typeHandler = UuidTypeHandler.class)
  48. private String cusId;
  49. /**
  50. * 跟进状态 (【系统字典】陌生接待、留资接待(报备)、跟进、邀约、约尺)
  51. */
  52. @Excel(name = "跟进状态 (【系统字典】陌生接待、留资接待(报备)、跟进、邀约、约尺)")
  53. @ApiModelProperty(value = "跟进状态 (【系统字典】陌生接待、留资接待(报备)、跟进、邀约、约尺)")
  54. private String followStatus;
  55. /**
  56. * 跟进部门
  57. */
  58. @Excel(name = "跟进部门")
  59. @ApiModelProperty(value = "跟进部门")
  60. @TableField(typeHandler = UuidTypeHandler.class)
  61. private String followOrg;
  62. /**
  63. * 跟进人
  64. */
  65. @Excel(name = "跟进人")
  66. @ApiModelProperty(value = "跟进人")
  67. @TableField(typeHandler = UuidTypeHandler.class)
  68. private String followStaff;
  69. /**
  70. * 跟进时间
  71. */
  72. @Excel(name = "跟进时间")
  73. @ApiModelProperty(value = "跟进时间")
  74. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  75. @TableField(typeHandler = TimestampTypeHandler.class)
  76. private LocalDateTime followTime;
  77. /**
  78. * 跟进内容
  79. */
  80. @Excel(name = "跟进内容")
  81. @ApiModelProperty(value = "跟进内容")
  82. private String followData;
  83. /**
  84. * 跟进时长 (分钟)
  85. */
  86. @Excel(name = "跟进时长 (分钟)")
  87. @ApiModelProperty(value = "跟进时长 (分钟)")
  88. private Integer followTimeLen;
  89. /**
  90. * 留店时长 (【系统字典】10-20、20-30。。)
  91. */
  92. @Excel(name = "留店时长 (【系统字典】10-20、20-30。。)")
  93. @ApiModelProperty(value = "留店时长 (【系统字典】10-20、20-30。。)")
  94. private String stayTimeLen;
  95. /**
  96. * 客户意向 (【系统字典】)
  97. */
  98. @Excel(name = "客户意向 (【系统字典】)")
  99. @ApiModelProperty(value = "客户意向 (【系统字典】)")
  100. private String intention;
  101. /**
  102. * 邀约结果 (【系统字典】)
  103. */
  104. @Excel(name = "邀约结果 (【系统字典】)")
  105. @ApiModelProperty(value = "邀约结果 (【系统字典】)")
  106. private String inviteResult;
  107. /**
  108. * 邀约时间
  109. */
  110. @Excel(name = "邀约时间")
  111. @ApiModelProperty(value = "邀约时间")
  112. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  113. @TableField(typeHandler = TimestampTypeHandler.class)
  114. private LocalDateTime inviteTime;
  115. /**
  116. * 设计师
  117. */
  118. @Excel(name = "设计师")
  119. @ApiModelProperty(value = "设计师")
  120. @TableField(typeHandler = UuidTypeHandler.class)
  121. private String designStaff;
  122. /**
  123. * 下次跟进计划
  124. */
  125. @Excel(name = "下次跟进计划")
  126. @ApiModelProperty(value = "下次跟进计划")
  127. private String nextFollowPlan;
  128. /**
  129. * 下次跟进时间 (提醒时间)
  130. */
  131. @Excel(name = "下次跟进时间 (提醒时间)")
  132. @ApiModelProperty(value = "下次跟进时间 (提醒时间)")
  133. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  134. @TableField(typeHandler = TimestampTypeHandler.class)
  135. private LocalDateTime nextFollowTime;
  136. /**
  137. * 跟进附件 (index(显示顺序)、name(文件名)、path(路径)、type(类型)、time(上传时间)...)
  138. */
  139. @Excel(name = "跟进附件 (index(显示顺序)、name(文件名)、path(路径)、type(类型)、time(上传时间)...)")
  140. @ApiModelProperty(value = "跟进附件 (index(显示顺序)、name(文件名)、path(路径)、type(类型)、time(上传时间)...)")
  141. @TableField(typeHandler = JsonTypeHandler.class)
  142. private JSONArray annexPaths;
  143. /**
  144. * 量尺状态 (【系统字典】)
  145. */
  146. @Excel(name = "量尺状态 (【系统字典】)")
  147. @ApiModelProperty(value = "量尺状态 (【系统字典】)")
  148. private String measureStatus;
  149. /**
  150. * 备注
  151. */
  152. @Excel(name = "备注")
  153. @ApiModelProperty(value = "备注")
  154. private String remarks;
  155. /**
  156. * 有效标识 (1:正常 0:停用)
  157. */
  158. @Excel(name = "有效标识 (1:正常 0:停用)")
  159. @ApiModelProperty(value = "有效标识 (1:正常 0:停用)")
  160. private Boolean flgValid;
  161. /**
  162. * 企业ID
  163. */
  164. @TableField(fill = FieldFill.INSERT)
  165. @Excel(name = "企业ID")
  166. @ApiModelProperty(value = "企业ID")
  167. private Integer cpId;
  168. @ApiModelProperty(value = "客户名称")
  169. private String cusName;
  170. @ApiModelProperty(value = "客户编号")
  171. private String cusCode;
  172. @ApiModelProperty(value = "客户电话")
  173. private String cusPhone;
  174. @ApiModelProperty(value = "销售部门")
  175. private String orgName;
  176. @ApiModelProperty(value = "销售人员")
  177. private String staffName;
  178. @ApiModelProperty(value = "跟进员工")
  179. private String followStaffName;
  180. @ApiModelProperty(value = "详细地址")
  181. private String addressFull;
  182. @ApiModelProperty(value = "跟进次数")
  183. private Integer followCount;
  184. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  185. @TableField(typeHandler = TimestampTypeHandler.class)
  186. private LocalDateTime createTime;
  187. @ApiModelProperty(value = "跟进状态 (【系统字典】陌生接待、留资接待(报备)、跟进、邀约、约尺)")
  188. private String followStatusName;
  189. /**
  190. * 行政区划 (a1:省 a2:市 a3:区)
  191. */
  192. @Excel(name = "行政区划 (a1:省 a2:市 a3:区)")
  193. @ApiModelProperty(value = "行政区划 (a1:省 a2:市 a3:区)")
  194. @TableField(typeHandler = JsonTypeHandler.class)
  195. private JSONObject addressArea;
  196. /**
  197. * 小区或POI
  198. */
  199. @Excel(name = "小区或POI")
  200. @ApiModelProperty(value = "小区或POI")
  201. private String addressName;
  202. /**
  203. * 门牌号
  204. */
  205. @Excel(name = "门牌号")
  206. @ApiModelProperty(value = "门牌号")
  207. private String addressNo;
  208. /**
  209. * 地址坐标(gcj02) (LAT:纬度的值 LON:经度的值)
  210. */
  211. @Excel(name = "地址坐标(gcj02) (LAT:纬度的值 LON:经度的值)")
  212. @ApiModelProperty(value = "地址坐标(gcj02) (LAT:纬度的值 LON:经度的值)")
  213. @TableField(typeHandler = JsonTypeHandler.class)
  214. private JSONObject addressGcj02;
  215. @ApiModelProperty(value = "客户意向")
  216. private String intentionName;
  217. @ApiModelProperty(value = "留店时长")
  218. private String stayTimeLenName;
  219. private String saleStatus;
  220. @ApiModelProperty(value = "销售渠道")
  221. private String channelId;
  222. private static final long serialVersionUID = 1L;
  223. }