namespace Nexus.Api.Models;

public sealed record ActivityItemDto(
    long Id,
    string Type,
    string Message,
    DateTimeOffset At,
    EntityRefDto? Entity,
    OperationResultDto? Operation = null);

public sealed record ActivityPageDto(
    IReadOnlyList<ActivityItemDto> Items,
    int TotalCount,
    int Page,
    int PageSize,
    int TotalPages);
