UsAppLabelPreviewInputVo.cs 1000 Bytes
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; }
}