package com.rj.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 音频文本分析SOP评分表实体
 */
@JsonIgnoreProperties(ignoreUnknown = true)
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("audio_text_analysis_sop")
@Schema(description = "音频文本分析SOP评分结果")
public class AudioTextAnalysisSop implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "记录唯一标识，存放UUID字符")
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    @Schema(description = "租户ID")
    @TableField("tenant_id")
    private String tenantId;

    @Schema(description = "父ID，UUID，用于树状结构关联")
    @TableField("parent_id")
    private String parentId;

    @Schema(description = "行业类型")
    @TableField("industry_type")
    private String industryType;

    @Schema(description = "综合得分")
    @TableField("comprehensive_score")
    private Integer comprehensiveScore;

    @Schema(description = "总结综合得分的原因")
    @TableField("score_summary_reason")
    private String scoreSummaryReason;

    @Schema(description = "所属人姓名")
    @TableField("owner_name")
    private String ownerName;

    @Schema(description = "所属人电话")
    @TableField("owner_phone")
    private String ownerPhone;

    @Schema(description = "客户姓名")
    @TableField("customer_name")
    private String customerName;

    @Schema(description = "客户电话")
    @TableField("customer_phone")
    private String customerPhone;

    @Schema(description = "迎宾破冰得分")
    @TableField("greeting_ice_breaking")
    private Integer greetingIceBreaking;

    @Schema(description = "品牌介绍得分")
    @TableField("brand_introduction")
    private Integer brandIntroduction;

    @Schema(description = "黄金三问得分")
    @TableField("golden_three_questions")
    private Integer goldenThreeQuestions;

    @Schema(description = "需求引导得分")
    @TableField("needs_guidance")
    private Integer needsGuidance;

    @Schema(description = "服务递进得分")
    @TableField("service_progression")
    private Integer serviceProgression;

    @Schema(description = "放心手册得分")
    @TableField("reassurance_handbook")
    private Integer reassuranceHandbook;

    @Schema(description = "三级报价得分")
    @TableField("three_level_pricing")
    private Integer threeLevelPricing;

    @Schema(description = "解答异议得分")
    @TableField("objection_handling")
    private Integer objectionHandling;

    @Schema(description = "活动植入得分")
    @TableField("activity_implantation")
    private Integer activityImplantation;

    @Schema(description = "压单配合得分")
    @TableField("closing_cooperation")
    private Integer closingCooperation;

    @Schema(description = "主动添加微信得分")
    @TableField("proactive_wechat_add")
    private Integer proactiveWechatAdd;

    @Schema(description = "礼貌道别得分")
    @TableField("polite_farewell")
    private Integer politeFarewell;

    @Schema(description = "修改时间")
    @TableField("updated_at")
    private LocalDateTime updatedAt;

    @Schema(description = "创建时间")
    @TableField("created_at")
    private LocalDateTime createdAt;
}

