#nullable enable
namespace Baya.Application.Models.Notifications;

/// <summary>An in-app notification as returned to its owner. <c>DataJson</c> is the typed deep-link payload.</summary>
public record NotificationDto(
    long Id,
    string Type,
    string Title,
    string? Body,
    string? DataJson,
    bool IsRead,
    DateTimeOffset? ReadAt,
    DateTimeOffset CreatedAt);
