CusFollowResponse.java 6.4 KB

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