using System.Collections.Generic; namespace FoodLabeling.Application.Contracts.Dtos.Label; public class LabelPreviewResolveInputVo { /// /// 标签编码(fl_label.LabelCode) /// public string LabelCode { get; set; } = string.Empty; /// /// 选择用于预览的产品Id(fl_product.Id) /// 如果不传,默认取该标签绑定的第一个产品 /// public string? ProductId { get; set; } /// /// 业务基准时间(用于 DATE/TIME 元素的渲染计算) /// 不传则默认使用服务器当前时间 /// public DateTime? BaseTime { get; set; } /// /// 打印输入(前端传,用于 PRINT_INPUT 元素) /// key 建议使用模板元素的 InputKey /// public Dictionary? PrintInputJson { get; set; } }