UsAppLabelPreviewInputVo.cs
1000 Bytes
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
using System;
using System.Collections.Generic;
namespace FoodLabeling.Application.Contracts.Dtos.UsAppLabeling;
/// <summary>
/// App 标签预览入参
/// </summary>
public class UsAppLabelPreviewInputVo
{
/// <summary>
/// 门店Id(fl_label.LocationId)
/// </summary>
public string LocationId { get; set; } = string.Empty;
/// <summary>
/// 标签编码(fl_label.LabelCode)
/// </summary>
public string LabelCode { get; set; } = string.Empty;
/// <summary>
/// 选择用于预览的产品Id(fl_product.Id)
/// 不传则默认取该标签绑定的第一个产品
/// </summary>
public string? ProductId { get; set; }
/// <summary>
/// 业务基准时间(用于 DATE/TIME 等元素的计算)
/// </summary>
public DateTime? BaseTime { get; set; }
/// <summary>
/// 打印输入(用于 PRINT_INPUT 元素)
/// </summary>
public Dictionary<string, object?>? PrintInputJson { get; set; }
}