Blame view

美国版/Food Labeling Management Code/Yi.Abp.Net8/module/food-labeling-us/FoodLabeling.Application.Contracts/Dtos/LabelTemplate/LabelTemplateElementDto.cs 1.7 KB
919c1b6a   李曜臣   1
1
2
3
4
5
  using System.Text.Json.Serialization;
  
  namespace FoodLabeling.Application.Contracts.Dtos.LabelTemplate;
  
  /// <summary>
20554770   杨鑫   更新bug
6
  /// Label template element (id, type, typeAdd, elementName, geometry, border, config, etc.).
919c1b6a   李曜臣   1
7
8
9
10
11
12
13
14
15
  /// </summary>
  public class LabelTemplateElementDto
  {
      [JsonPropertyName("id")]
      public string Id { get; set; } = string.Empty;
  
      [JsonPropertyName("type")]
      public string ElementType { get; set; } = string.Empty;
  
58d2e61c   杨鑫   最新代码
16
17
18
      [JsonPropertyName("typeAdd")]
      public string? TypeAdd { get; set; }
  
a4baaa73   李曜臣   模板与产品关联实现
19
20
21
      [JsonPropertyName("elementName")]
      public string ElementName { get; set; } = string.Empty;
  
919c1b6a   李曜臣   1
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
      [JsonPropertyName("x")]
      public decimal PosX { get; set; }
  
      [JsonPropertyName("y")]
      public decimal PosY { get; set; }
  
      [JsonPropertyName("width")]
      public decimal Width { get; set; }
  
      [JsonPropertyName("height")]
      public decimal Height { get; set; }
  
      [JsonPropertyName("rotation")]
      public string Rotation { get; set; } = "horizontal";
  
      [JsonPropertyName("border")]
      public string BorderType { get; set; } = "none";
  
      [JsonPropertyName("zIndex")]
      public int ZIndex { get; set; }
  
      [JsonPropertyName("orderNum")]
      public int OrderNum { get; set; }
  
919c1b6a   李曜臣   1
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
      [JsonPropertyName("valueSourceType")]
      public string ValueSourceType { get; set; } = "FIXED";
  
      [JsonPropertyName("bindingExpr")]
      public string? BindingExpr { get; set; }
  
      [JsonPropertyName("autoQueryKey")]
      public string? AutoQueryKey { get; set; }
  
      [JsonPropertyName("inputKey")]
      public string? InputKey { get; set; }
  
      [JsonPropertyName("isRequiredInput")]
      public bool IsRequiredInput { get; set; }
  
919c1b6a   李曜臣   1
61
62
63
      [JsonPropertyName("config")]
      public object? ConfigJson { get; set; }
  }