using Distribution.Models; namespace Distribution.Features.Notifications; /// Object whose public properties fill the {Token} placeholders in the type's templates. /// The acting user; excluded from the recipients. public record NotificationArgs( object? Values, string EntityType, Guid EntityId, string Link, Guid? CreatedByUserId = null); /// The caller's own recipient row id — use it for read / delete. public record NotificationResponse( Guid Id, string Type, NotificationSeverity Severity, string Title, string Message, string EntityType, Guid EntityId, string Link, DateTime CreatedAt, bool IsRead, DateTime? ReadAt); public record UnreadCountResponse(int Count);