package com.hiveops.aria.dto;

import jakarta.validation.Valid;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

import java.util.List;

@Data
public class ThreatEventIngestionRequest {

    @NotBlank
    private String deviceAgentId;

    private Long deviceId;

    private String institutionKey;

    @NotEmpty
    @Valid
    private List<ThreatEventItem> events;
}
