namespace Svrnty.CQRS.Notifications.Abstractions;
///
/// Marks a record as a streaming notification that can be subscribed to via gRPC.
/// The framework will auto-generate proto definitions and service implementations.
///
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
public sealed class StreamingNotificationAttribute : Attribute
{
///
/// The property name used as the subscription key.
/// Subscribers filter notifications by this value.
///
public required string SubscriptionKey { get; set; }
}