Push notifications
This commit is contained in:
14
NostrStreamer/Database/PushSubscriptionTarget.cs
Normal file
14
NostrStreamer/Database/PushSubscriptionTarget.cs
Normal file
@ -0,0 +1,14 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace NostrStreamer.Database;
|
||||
|
||||
public class PushSubscriptionTarget
|
||||
{
|
||||
public Guid Id { get; init; } = Guid.NewGuid();
|
||||
|
||||
[MaxLength(64)]
|
||||
public string SubscriberPubkey { get; init; } = null!;
|
||||
|
||||
[MaxLength(64)]
|
||||
public string TargetPubkey { get; init; } = null!;
|
||||
}
|
Reference in New Issue
Block a user