using System;
using System.Collections.Generic;

namespace StellaOps.Feedser.Source.Distro.Debian.Internal;

internal sealed record DebianAdvisoryDto(
    string AdvisoryId,
    string SourcePackage,
    string? Title,
    string? Description,
    IReadOnlyList<string> CveIds,
    IReadOnlyList<DebianPackageStateDto> Packages,
    IReadOnlyList<DebianReferenceDto> References);

internal sealed record DebianPackageStateDto(
    string Package,
    string Release,
    string Status,
    string? IntroducedVersion,
    string? FixedVersion,
    string? LastAffectedVersion,
    DateTimeOffset? Published);

internal sealed record DebianReferenceDto(
    string Url,
    string? Kind,
    string? Title);
