package com.cameleer.server.core.alerting;

import com.fasterxml.jackson.annotation.JsonIgnore;

public record AlertScope(String appSlug, String routeId, String agentId) {
    @JsonIgnore
    public boolean isEnvWide() { return appSlug == null && routeId == null && agentId == null; }
}
