UsAppLabelReprintInputVo.cs
1.39 KB
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
using System;
using System.Collections.Generic;
namespace FoodLabeling.Application.Contracts.Dtos.UsAppLabeling;
/// <summary>
/// App 重新打印入参(根据历史任务Id重打)
/// </summary>
public class UsAppLabelReprintInputVo
{
/// <summary>
/// 当前门店Id(用于权限校验,必须与历史任务一致)
/// </summary>
public string LocationId { get; set; } = string.Empty;
/// <summary>
/// 历史打印任务Id(fl_label_print_task.Id)
/// </summary>
public string TaskId { get; set; } = string.Empty;
/// <summary>
/// 重新打印份数(<=0 则按 1 处理;默认 1)
/// </summary>
public int PrintQuantity { get; set; } = 1;
/// <summary>
/// 客户端幂等请求Id(可选)。
/// 同一个 clientRequestId 重复调用 reprint 接口时,后端会直接返回首次创建的 batchId/taskIds,不会重复写库。
/// </summary>
public string? ClientRequestId { get; set; }
/// <summary>
/// 重新打印时可覆盖打印机Id(可选)
/// </summary>
public string? PrinterId { get; set; }
/// <summary>
/// 重新打印时可覆盖打印机蓝牙 MAC(可选)
/// </summary>
public string? PrinterMac { get; set; }
/// <summary>
/// 重新打印时可覆盖打印机地址(可选)
/// </summary>
public string? PrinterAddress { get; set; }
}