1
+ using System . Text . Json . Serialization ;
2
+ using Ws . DeviceControl . Models . Dto . Shared ;
3
+
4
+ namespace Ws . DeviceControl . Models . Dto . References1C . Plus . Queries ;
5
+
6
+ public record PluDto
7
+ {
8
+ [ JsonPropertyName ( "id" ) ]
9
+ public required Guid Id { get ; set ; }
10
+
11
+ [ JsonPropertyName ( "number" ) ]
12
+ public required ushort Number { get ; set ; }
13
+
14
+ [ JsonPropertyName ( "type" ) ]
15
+ public required bool IsWeight { get ; set ; }
16
+
17
+ [ JsonPropertyName ( "weight" ) ]
18
+ public required decimal Weight { get ; set ; }
19
+
20
+ [ JsonPropertyName ( "brand" ) ]
21
+ public required ProxyDto Brand { get ; set ; }
22
+
23
+ [ JsonPropertyName ( "shelfLifeDays" ) ]
24
+ public required ushort ShelfLifeDays { get ; set ; }
25
+
26
+ [ JsonPropertyName ( "template" ) ]
27
+ public required ProxyDto ? Template { get ; set ; }
28
+
29
+ [ JsonPropertyName ( "storageMethods" ) ]
30
+ public required string StorageMethod { get ; set ; }
31
+
32
+ [ JsonPropertyName ( "name" ) ]
33
+ public required string Name { get ; set ; }
34
+
35
+ [ JsonPropertyName ( "fullName" ) ]
36
+ public required string FullName { get ; set ; }
37
+
38
+ [ JsonPropertyName ( "description" ) ]
39
+ public required string Description { get ; set ; }
40
+
41
+ [ JsonPropertyName ( "ean13" ) ]
42
+ public required string Ean13 { get ; set ; }
43
+
44
+ [ JsonPropertyName ( "gtin" ) ]
45
+ public required string Gtin { get ; set ; }
46
+
47
+ [ JsonPropertyName ( "clip" ) ]
48
+ public required ProxyDto ? Clip { get ; set ; }
49
+
50
+ [ JsonPropertyName ( "bundle" ) ]
51
+ public required ProxyDto ? Bundle { get ; set ; }
52
+
53
+ [ JsonPropertyName ( "createDt" ) ]
54
+ public required DateTime CreateDt { get ; set ; }
55
+
56
+ [ JsonPropertyName ( "changeDt" ) ]
57
+ public required DateTime ChangeDt { get ; set ; }
58
+ }
0 commit comments