package com.psg.dlsysinfo.dl_sysinfo_server.entity;

import lombok.AllArgsConstructor;
import lombok.Getter;

import java.time.LocalDateTime;

@Getter
@AllArgsConstructor
public class CveMatchResultImpl implements CveMatchResult {
    private final String cveId;
    private final String severity;
    private final Double score;
    private final String description;
    private final String affectedApp;
    private final String installedVersion;
    private final LocalDateTime lastModifiedDate; // or null for now
    private final boolean lenientMatch;
    public boolean isLenientMatch() { return lenientMatch; }

}
