FlLabelAlertTimerDbEntity.cs 1.21 KB
using SqlSugar;

namespace FoodLabeling.Application.Services.DbModels;

/// <summary>
/// 标签告警计时器(对应表:fl_label_alert_timer)
/// </summary>
[SugarTable("fl_label_alert_timer")]
public class FlLabelAlertTimerDbEntity
{
    [SugarColumn(IsPrimaryKey = true)]
    public string Id { get; set; } = string.Empty;

    public string BatchId { get; set; } = string.Empty;

    public string PrintTaskId { get; set; } = string.Empty;

    public string LabelId { get; set; } = string.Empty;

    public string? LabelCode { get; set; }

    public string LabelName { get; set; } = string.Empty;

    public string? ProductId { get; set; }

    public string? ProductName { get; set; }

    public string LocationId { get; set; } = string.Empty;

    public DateTime PrintedAt { get; set; }

    public DateTime? BaseTime { get; set; }

    public DateTime ExpiresAt { get; set; }

    public int DurationSeconds { get; set; }

    public string Title { get; set; } = string.Empty;

    public string Subtitle { get; set; } = string.Empty;

    public bool IsDeleted { get; set; }

    public DateTime? DeletionTime { get; set; }

    public string? CreatedBy { get; set; }

    public DateTime CreationTime { get; set; }
}