SysCustomerFollowEntity.java 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. package com.jtzx.crm.module.sys.entity;
  2. import cc.uncarbon.framework.crud.entity.HelioBaseEntity;
  3. import com.baomidou.mybatisplus.annotation.TableField;
  4. import com.baomidou.mybatisplus.annotation.TableName;
  5. import io.swagger.v3.oas.annotations.media.Schema;
  6. import lombok.AllArgsConstructor;
  7. import lombok.Data;
  8. import lombok.EqualsAndHashCode;
  9. import lombok.NoArgsConstructor;
  10. import lombok.experimental.Accessors;
  11. import lombok.experimental.SuperBuilder;
  12. import java.time.LocalDateTime;
  13. /**
  14. * 客户跟进数据信息
  15. */
  16. @EqualsAndHashCode(callSuper = true)
  17. @Accessors(chain = true)
  18. @SuperBuilder
  19. @AllArgsConstructor
  20. @NoArgsConstructor
  21. @Data
  22. @TableName(value = "sys_customer_follow")
  23. public class SysCustomerFollowEntity extends HelioBaseEntity<Long> {
  24. @Schema(description = "认领人(跟进)id")
  25. @TableField(value = "claim_user_id")
  26. private Long claimUserId;
  27. @Schema(description = "认领人(跟进)名称")
  28. @TableField(value = "claim_user_name")
  29. private String claimUserName;
  30. @Schema(description = "认领人员所在的项目组id")
  31. @TableField(value = "claim_user_group_id")
  32. private Long claimUserGroupId;
  33. @Schema(description = "跟进时间")
  34. @TableField(value = "claim_datetime")
  35. private LocalDateTime claimDatetime;
  36. @Schema(description = "客户表主id")
  37. @TableField(value = "customer_id")
  38. private Long customerId;
  39. @Schema(description = "客户名称")
  40. @TableField(value = "customer_name")
  41. private String customerName;
  42. @Schema(description = "产品id(param_base_data表主id)")
  43. @TableField(value = "product_id")
  44. private Long productId;
  45. @Schema(description = "产品名称")
  46. @TableField(value = "product_name")
  47. private String productName;
  48. @Schema(description = "跟进状态id,赢单状态id固定-37,方案演示id固定-33")
  49. @TableField(value = "follow_id")
  50. private Long followId;
  51. @Schema(description = "跟进状态的名称")
  52. @TableField(value = "follow_name")
  53. private String followName;
  54. @Schema(description = "是否赢单,0-否,1-是")
  55. @TableField(value = "success_status")
  56. private Integer successStatus;
  57. @Schema(description = "联系人id(customer_person表主id)")
  58. @TableField(value = "customer_person_id")
  59. private Long customerPersonId;
  60. @Schema(description = "联系人名称")
  61. @TableField(value = "customer_person_name")
  62. private String customerPersonName;
  63. @Schema(description = "职务id(param_base_data表主id)")
  64. @TableField(value = "position_id")
  65. private Long positionId;
  66. @Schema(description = "职务名称")
  67. @TableField(value = "position_name")
  68. private String positionName;
  69. @Schema(description = "跟进内容")
  70. @TableField(value = "follow_content")
  71. private String followContent;
  72. @Schema(description = "预约待办类型,0-预约,1-待办,(follow_id=33时为预约,其它为待办),这个数据可以为null")
  73. @TableField(value = "order_type")
  74. private Integer orderType;
  75. @Schema(description = "预约待办时间")
  76. @TableField(value = "order_datetime")
  77. private LocalDateTime orderDatetime;
  78. @Schema(description = "预约,待办状态,0-待开始,1-已结束,2-已取消(预约的取消需要填写取消原因)")
  79. @TableField(value = "order_status")
  80. private Integer orderStatus;
  81. @Schema(description = "预约取消原因")
  82. @TableField(value = "cancel_remark")
  83. private String cancelRemark;
  84. @Schema(description = "学段id(param_base_data表主id)")
  85. @TableField(value = "stage_id")
  86. private Long stageId;
  87. @Schema(description = "学段名称")
  88. @TableField(value = "stage_name")
  89. private String stageName;
  90. @Schema(description = "省份id(省份表主id)")
  91. @TableField(value = "province_id")
  92. private Long provinceId;
  93. @Schema(description = "省份名称")
  94. @TableField(value = "province_name")
  95. private String provinceName;
  96. @Schema(description = "城市id(城市表主id)")
  97. @TableField(value = "city_id")
  98. private Long cityId;
  99. @Schema(description = "城市名称")
  100. @TableField(value = "city_name")
  101. private String cityName;
  102. @Schema(description = "逻辑删除标识", title = "0=否 1=是")
  103. @TableField("del_flag")
  104. private Integer delFlag;
  105. }