feat: add notice model, rules and service

This commit is contained in:
2026-11-13 18:10:41 +01:00
parent f15253b976
commit 41d1978d34
11 changed files with 658 additions and 0 deletions
@@ -0,0 +1,29 @@
using System;
namespace Jellyfin.Plugin.Herald.Notices;
/// <summary>
/// One row of the acknowledgement report.
/// </summary>
public class AckEntry
{
/// <summary>
/// Gets or sets the user id.
/// </summary>
public Guid UserId { get; set; }
/// <summary>
/// Gets or sets the user name. <c>null</c> if the user no longer exists.
/// </summary>
public string? UserName { get; set; }
/// <summary>
/// Gets or sets the response. <c>null</c> for users who have not responded.
/// </summary>
public AckAction? Action { get; set; }
/// <summary>
/// Gets or sets the response time (UTC). <c>null</c> for users who have not responded.
/// </summary>
public DateTime? Timestamp { get; set; }
}