package com.ga.core.vo.kpi;

import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * retention_anomaly_alert — 13M/25M 유지율 이상치 (V76)
 */
@Data
public class RetentionAnomalyAlertVO {
    private Long alertId;
    /** AGENT / ORG / ALL */
    private String targetType;
    /** ALL 일 때 null */
    private Long targetId;
    /** YYYY-MM */
    private String alertMonth;
    /** 13M / 25M */
    private String retentionBand;
    private BigDecimal expectedRate;
    private BigDecimal actualRate;
    private BigDecimal deviation;
    /** LOW / MED / HIGH */
    private String severity;
    /** NEW / REVIEWED / RESOLVED */
    private String status;
    private String note;
    private LocalDateTime detectedAt;
    private LocalDateTime reviewedAt;
    private Long reviewedBy;
}
