CusFollow.java 8.1 KB

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