2893c050
李曜臣
2026-07-13
|
1
|
namespace FoodLabeling.Application.Contracts.Dtos.Dashboard;
|
59e51671
“wangming”
1
|
2
3
4
5
6
7
8
9
10
|
/// <summary>
/// Dashboard「Recent Labels」单行数据(最近打印记录)
/// </summary>
public class DashboardRecentLabelItemDto
{
/// <summary>打印任务 Id(fl_label_print_task.Id)</summary>
public string TaskId { get; set; } = string.Empty;
|
2893c050
李曜臣
2026-07-13
|
11
12
13
|
/// <summary>
/// 展示用 Label ID:门店当日打印序号 <c>yyyyMMdd-n</c>(与 preview / print-log 一致;非 <c>fl_label.LabelCode</c>)
/// </summary>
|
59e51671
“wangming”
1
|
14
15
16
|
public string LabelCode { get; set; } = string.Empty;
/// <summary>展示名称:优先产品名,否则标签名称</summary>
|
2893c050
李曜臣
2026-07-13
|
17
|
public string DisplayName { get; set; } = FoodLabelingDisplayConsts.NotAvailable;
|
59e51671
“wangming”
1
|
18
19
20
21
22
|
/// <summary>打印人用户 Id(CreatedBy)</summary>
public string? PrintedByUserId { get; set; }
/// <summary>打印人展示名(User.Name 或 UserName)</summary>
|
2893c050
李曜臣
2026-07-13
|
23
|
public string PrintedByName { get; set; } = FoodLabelingDisplayConsts.NotAvailable;
|
59e51671
“wangming”
1
|
24
25
26
27
28
29
30
31
|
/// <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>
|
2893c050
李曜臣
2026-07-13
|
32
|
public string LabelTypeBadge { get; set; } = FoodLabelingDisplayConsts.NotAvailable;
|
59e51671
“wangming”
1
|
33
|
}
|