package com.jtzx.crm.module.sys.entity; import cc.uncarbon.framework.crud.entity.HelioBaseEntity; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableName; import io.swagger.v3.oas.annotations.media.Schema; import lombok.AllArgsConstructor; import lombok.Data; import lombok.EqualsAndHashCode; import lombok.NoArgsConstructor; import lombok.experimental.Accessors; import lombok.experimental.SuperBuilder; import java.time.LocalDateTime; /** * 客户跟进数据信息 */ @EqualsAndHashCode(callSuper = true) @Accessors(chain = true) @SuperBuilder @AllArgsConstructor @NoArgsConstructor @Data @TableName(value = "sys_customer_follow") public class SysCustomerFollowEntity extends HelioBaseEntity { @Schema(description = "认领人(跟进)id") @TableField(value = "claim_user_id") private Long claimUserId; @Schema(description = "认领人(跟进)名称") @TableField(value = "claim_user_name") private String claimUserName; @Schema(description = "认领人员所在的项目组id") @TableField(value = "claim_user_group_id") private Long claimUserGroupId; @Schema(description = "跟进时间") @TableField(value = "claim_datetime") private LocalDateTime claimDatetime; @Schema(description = "客户表主id") @TableField(value = "customer_id") private Long customerId; @Schema(description = "客户名称") @TableField(value = "customer_name") private String customerName; @Schema(description = "产品id(param_base_data表主id)") @TableField(value = "product_id") private Long productId; @Schema(description = "产品名称") @TableField(value = "product_name") private String productName; @Schema(description = "跟进状态id,赢单状态id固定-37,方案演示id固定-33") @TableField(value = "follow_id") private Long followId; @Schema(description = "跟进状态的名称") @TableField(value = "follow_name") private String followName; @Schema(description = "是否赢单,0-否,1-是") @TableField(value = "success_status") private Integer successStatus; @Schema(description = "联系人id(customer_person表主id)") @TableField(value = "customer_person_id") private Long customerPersonId; @Schema(description = "联系人名称") @TableField(value = "customer_person_name") private String customerPersonName; @Schema(description = "职务id(param_base_data表主id)") @TableField(value = "position_id") private Long positionId; @Schema(description = "职务名称") @TableField(value = "position_name") private String positionName; @Schema(description = "跟进内容") @TableField(value = "follow_content") private String followContent; @Schema(description = "预约待办类型,0-预约,1-待办,(follow_id=33时为预约,其它为待办),这个数据可以为null") @TableField(value = "order_type") private Integer orderType; @Schema(description = "预约待办时间") @TableField(value = "order_datetime") private LocalDateTime orderDatetime; @Schema(description = "预约,待办状态,0-待开始,1-已结束,2-已取消(预约的取消需要填写取消原因)") @TableField(value = "order_status") private Integer orderStatus; @Schema(description = "预约取消原因") @TableField(value = "cancel_remark") private String cancelRemark; @Schema(description = "学段id(param_base_data表主id)") @TableField(value = "stage_id") private Long stageId; @Schema(description = "学段名称") @TableField(value = "stage_name") private String stageName; @Schema(description = "省份id(省份表主id)") @TableField(value = "province_id") private Long provinceId; @Schema(description = "省份名称") @TableField(value = "province_name") private String provinceName; @Schema(description = "城市id(城市表主id)") @TableField(value = "city_id") private Long cityId; @Schema(description = "城市名称") @TableField(value = "city_name") private String cityName; @Schema(description = "逻辑删除标识", title = "0=否 1=是") @TableField("del_flag") private Integer delFlag; }