namespace FoodLabeling.Application.Contracts.Dtos.UsAppLabeling;
///
/// 打印日志列表项
///
public class PrintLogItemDto
{
/// 任务Id(fl_label_print_task.Id)
public string TaskId { get; set; } = string.Empty;
/// 批次Id(同一次点击 Print 共享)
public string? BatchId { get; set; }
/// 第几份(从 1 开始)
public int CopyIndex { get; set; }
/// 标签Id
public string LabelId { get; set; } = string.Empty;
/// 标签编码
public string LabelCode { get; set; } = string.Empty;
/// 产品Id
public string? ProductId { get; set; }
/// 产品名称
public string ProductName { get; set; } = "无";
/// 标签类型名称(来自 fl_label_type.TypeName)
public string TypeName { get; set; } = string.Empty;
/// 模板尺寸(来自 fl_label_template.Width/Height/Unit)
public string? LabelSizeText { get; set; }
/// 打印入参 JSON(直接来自 fl_label_print_task.PrintInputJson 列)
public string? PrintInputJson { get; set; }
/// 打印时间(PrintedAt ?? CreationTime)
public DateTime PrintedAt { get; set; }
/// 操作人姓名(任务 CreatedBy 对应用户;查看全店日志时为实际打印人)
public string OperatorName { get; set; } = string.Empty;
/// 门店名称
public string LocationName { get; set; } = "无";
}