package com.writeoff.module.observability.model;

public class AlertEventInfo {
    private Long id;
    private String ruleCode;
    private String metricCode;
    private Double currentValue;
    private Double thresholdValue;
    private String alertLevel;
    private String status;
    private String createdAt;
    private String recoveredAt;

    public AlertEventInfo(Long id, String ruleCode, String metricCode, Double currentValue, Double thresholdValue, String alertLevel, String status, String createdAt, String recoveredAt) {
        this.id = id;
        this.ruleCode = ruleCode;
        this.metricCode = metricCode;
        this.currentValue = currentValue;
        this.thresholdValue = thresholdValue;
        this.alertLevel = alertLevel;
        this.status = status;
        this.createdAt = createdAt;
        this.recoveredAt = recoveredAt;
    }

    public Long getId() {
        return id;
    }

    public String getRuleCode() {
        return ruleCode;
    }

    public String getMetricCode() {
        return metricCode;
    }

    public Double getCurrentValue() {
        return currentValue;
    }

    public Double getThresholdValue() {
        return thresholdValue;
    }

    public String getAlertLevel() {
        return alertLevel;
    }

    public String getStatus() {
        return status;
    }

    public String getCreatedAt() {
        return createdAt;
    }

    public String getRecoveredAt() {
        return recoveredAt;
    }
}
