Blame view

泰额版/Food Labeling Management Code/Yi.Abp.Net8/module/food-labeling-us/FoodLabeling.Application.Contracts/Dtos/Label/LabelCreateInputVo.cs 1.6 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
  namespace FoodLabeling.Application.Contracts.Dtos.Label;
  
  public class LabelCreateInputVo
  {
      public string? LabelCode { get; set; }
  
      public string LabelName { get; set; } = string.Empty;
  
      public string TemplateCode { get; set; } = string.Empty;
  
      /// <summary>
      /// 适用 Company<c>fl_partner.Id</c>);与 <see cref="PartnerIds"/> 合并,用于解析所属门店
      /// </summary>
      public string? PartnerId { get; set; }
  
      /// <summary>
      /// 适用 Company 多选(<c>fl_partner.Id</c>
      /// </summary>
      public List<string>? PartnerIds { get; set; }
  
      /// <summary>
      /// 适用 Region 多选(<c>fl_group.Id</c>);与 <see cref="GroupIds"/> 合并
      /// </summary>
      public List<string>? RegionIds { get; set; }
  
      /// <summary>
      /// 适用 Region 多选(与 <see cref="RegionIds"/> 相同)
      /// </summary>
      public List<string>? GroupIds { get; set; }
  
      /// <summary>
      /// 所属门店(<c>location.Id</c>);可与 Company/Region 一并传入以校验范围;单独传则直接落库
      /// </summary>
      public string? LocationId { get; set; }
  
      /// <summary>
      /// 门店候选(多选);标签仅绑定单门店:未传 <see cref="LocationId"/> 且合并结果唯一时自动取该项
      /// </summary>
      public List<string>? LocationIds { get; set; }
  
      public string LabelCategoryId { get; set; } = string.Empty;
  
      public string LabelTypeId { get; set; } = string.Empty;
  
      public List<string> ProductIds { get; set; } = new();
  
      public object? LabelInfoJson { get; set; }
  
      public bool State { get; set; } = true;
  }