LabelPreviewResolveInputVo.cs
701 Bytes
using System.Collections.Generic;
namespace FoodLabeling.Application.Contracts.Dtos.Label;
public class LabelPreviewResolveInputVo
{
/// <summary>
/// 标签编码(fl_label.LabelCode)
/// </summary>
public string LabelCode { get; set; } = string.Empty;
/// <summary>
/// 选择用于预览的产品Id(fl_product.Id)
/// 如果不传,默认取该标签绑定的第一个产品
/// </summary>
public string? ProductId { get; set; }
/// <summary>
/// 打印输入(前端传,用于 PRINT_INPUT 元素)
/// key 建议使用模板元素的 InputKey
/// </summary>
public Dictionary<string, object>? PrintInputJson { get; set; }
}