using FoodLabeling.Application.Contracts.Dtos.Label;
namespace FoodLabeling.Application.Contracts.Dtos.UsAppLabeling;
///
/// App 标签预览出参(顶部信息 + 预览模板结构)
///
public class UsAppLabelPreviewDto
{
public string LocationId { get; set; } = string.Empty;
public string LabelCode { get; set; } = string.Empty;
public string? TemplateCode { get; set; }
public string? LabelSizeText { get; set; }
public string? TypeName { get; set; }
public string? ProductName { get; set; }
public string? ProductCategoryName { get; set; }
public string? LabelCategoryName { get; set; }
///
/// 预览图(base64 png,可空;若为空,客户端可用 Template 自行渲染)
///
public string? PreviewImageBase64Png { get; set; }
///
/// 预览模板结构(与 LabelCanvas/LabelPreviewOnly 结构尽量一致)
///
public LabelTemplatePreviewDto Template { get; set; } = new();
}