package com.ga.core.vo.kpi;

import lombok.Data;

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

@Data
public class RetentionAnomalyAlertResp {
    private Long alertId;
    private String targetType;
    private String targetTypeName;
    private Long targetId;
    /** AGENT면 agent_name, ORG면 org_name, ALL이면 "전사" */
    private String targetName;
    private String alertMonth;
    private String retentionBand;
    private BigDecimal expectedRate;
    private BigDecimal actualRate;
    private BigDecimal deviation;
    private String severity;
    private String severityName;
    private String status;
    private String statusName;
    private String note;
    private LocalDateTime detectedAt;
    private LocalDateTime reviewedAt;
    private Long reviewedBy;
    private String reviewedByName;
}
