Notification APIs

This commit is contained in:
2025-04-27 23:52:41 +08:00
parent cb7179aa27
commit bd7e589681
4 changed files with 64 additions and 0 deletions

View File

@ -9,6 +9,7 @@ namespace DysonNetwork.Sphere.Account;
public class Notification : ModelBase
{
public Guid Id { get; set; } = Guid.NewGuid();
[MaxLength(1024)] public string Topic { get; set; } = null!;
[MaxLength(1024)] public string? Title { get; set; }
[MaxLength(2048)] public string? Subtitle { get; set; }
[MaxLength(4096)] public string? Content { get; set; }