Blame view

泰额版/Food Labeling Management Code/Yi.Abp.Net8/module/food-labeling-us/FoodLabeling.Application.Contracts/Dtos/Label/LabelPreviewResolveInputVo.cs 906 Bytes
59e51671   “wangming”   1
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
  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>
      /// 选择用于预览的产品Idfl_product.Id
      /// 如果不传,默认取该标签绑定的第一个产品
      /// </summary>
      public string? ProductId { get; set; }
  
      /// <summary>
      /// 业务基准时间(用于 DATE/TIME 元素的渲染计算)
      /// 不传则默认使用服务器当前时间
      /// </summary>
      public DateTime? BaseTime { get; set; }
  
      /// <summary>
      /// 打印输入(前端传,用于 PRINT_INPUT 元素)
      /// key 建议使用模板元素的 InputKey
      /// </summary>
      public Dictionary<string, object?>? PrintInputJson { get; set; }
  }