package com.rj.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

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

/**
 * 触及红线记录（表 red_line_record）
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("red_line_record")
@Schema(description = "触及红线记录(red_line_record)")
public class RedLineRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键，UUID")
    @TableId("id")
    private String id;

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

    @Schema(description = "销售人员的id")
    private String salesId;

    @Schema(description = "销售人员的姓名")
    private String salesName;

    @Schema(description = "销售人员的电话")
    private String salesPhone;

    @Schema(description = "音频主表ID（audio_management.id）")
    private String audioManagementId;

    @Schema(description = "音频分段表ID（audio_management_segments.id）")
    private String audioManagementSegmentsId;

    @Schema(description = "触及的红线类型")
    private String redLineType;

    @Schema(description = "触及的红线的子类型")
    private String redLineSubtype;

    @Schema(description = "检查时使用的阈值（数值、比例或规则描述等）")
    private String checkThreshold;

    @Schema(description = "触发时对应的原始文本")
    private String reasonText;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "修改时间")
    private LocalDateTime updateTime;
}
