CusFollowResponse.java 6.5 KB

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