package ru.kirillius.pf.sdn.dto;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import ru.kirillius.pf.sdn.api.Networking.IPv4Subnet;

import java.time.Instant;
import java.util.HashMap;
import java.util.Map;

@Getter
@Setter
@NoArgsConstructor
public class ResolverCacheEntry {
    private Instant lastUpdate = Instant.now();
    private Map<IPv4Subnet, Instant> addresses = new HashMap<>();
}
