59e51671
“wangming”
1
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
namespace FoodLabeling.Application.Contracts.Dtos.Dashboard;
/// <summary>
/// Dashboard「Recent Labels」单行数据(最近打印记录)
/// </summary>
public class DashboardRecentLabelItemDto
{
/// <summary>打印任务 Id(fl_label_print_task.Id)</summary>
public string TaskId { get; set; } = string.Empty;
/// <summary>标签编码(界面 Serial / Label ID,如 1-251201)</summary>
public string LabelCode { get; set; } = string.Empty;
/// <summary>展示名称:优先产品名,否则标签名称</summary>
public string DisplayName { get; set; } = "无";
/// <summary>打印人用户 Id(CreatedBy)</summary>
public string? PrintedByUserId { get; set; }
/// <summary>打印人展示名(User.Name 或 UserName)</summary>
public string PrintedByName { get; set; } = "无";
/// <summary>打印时间(PrintedAt 优先,否则 CreationTime)</summary>
public DateTime PrintedAt { get; set; }
/// <summary>状态:<c>active</c> 或 <c>expired</c>(依据 PrintInputJson 中保质期与当前日期比较)</summary>
public string Status { get; set; } = "active";
/// <summary>角标/尺寸短文案(如 2"x2",用于左侧圆标)</summary>
public string LabelTypeBadge { get; set; } = "无";
}
|