package com.storlead.trade.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.storlead.framework.mybatis.entity.TenantBaseField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("customer_analysis_result")
@ApiModel(value = "CustomerAnalysisResultEntity", description = "客户分析结果")
public class CustomerAnalysisResultEntity extends TenantBaseField {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键ID")
    private Long id;
    @ApiModelProperty(value = "客户ID")
    private Long customerId;
    @ApiModelProperty(value = "分析批次号")
    private String analysisBatchNo;
    @ApiModelProperty(value = "分析场景")
    private String analysisScene;
    @ApiModelProperty(value = "分析状态")
    private Integer analysisStatus;
    @ApiModelProperty(value = "潜力分")
    private Double potentialScore;
    @ApiModelProperty(value = "客户等级")
    private String customerLevel;
    @ApiModelProperty(value = "置信度")
    private Double confidence;
    @ApiModelProperty(value = "优先级")
    private Integer priority;
    @ApiModelProperty(value = "核心标签")
    private String coreTags;
    @ApiModelProperty(value = "分析摘要")
    private String reasonSummary;
    @ApiModelProperty(value = "建议动作")
    private String suggestedActions;
    @ApiModelProperty(value = "风险信号")
    private String riskSignals;
    @ApiModelProperty(value = "特征快照")
    private String featureSnapshot;
    @ApiModelProperty(value = "模型名称")
    private String modelName;
    @ApiModelProperty(value = "模型版本")
    private String modelVersion;
    @ApiModelProperty(value = "提示词版本")
    private String promptVersion;
    @ApiModelProperty(value = "错误码")
    private String errorCode;
    @ApiModelProperty(value = "错误信息")
    private String errorMessage;
    @ApiModelProperty(value = "建议下次跟进时间")
    private Date nextFollowUpAt;
    @ApiModelProperty(value = "分析时间")
    private Date analysisTime;
}
