LabelAlertTimerCheckExpiredOutputDto.cs 867 Bytes
namespace FoodLabeling.Application.Contracts.Dtos.LabelAlertTimer;

/// <summary>
/// 检查告警计时器是否过期出参
/// </summary>
public class LabelAlertTimerCheckExpiredOutputDto
{
    /// <summary>是否找到计时器记录</summary>
    public bool Found { get; set; }

    /// <summary>是否已过期;无记录时为 false(仅展示用,不用于拦截打印)</summary>
    public bool IsExpired { get; set; }

    public DateTime? ExpiresAt { get; set; }

    /// <summary>剩余秒数(已过期为 0)</summary>
    public int RemainingSeconds { get; set; }

    /// <summary>状态:<c>expired</c> 或 <c>running</c></summary>
    public string? Status { get; set; }

    public string? Title { get; set; }

    public string? Subtitle { get; set; }

    public string? TimerId { get; set; }

    public string? BatchId { get; set; }
}