刘光辉
5 小时以前 06f314545ac3514d7ce28939920866ae8188d31c
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
package jnpf.elnEntity.runtime;
 
import lombok.Data;
 
import java.util.List;
 
public final class ElnRecordForms {
 
    @Data
    public static class RepeatAppend {
        private String operationCode;
        private String groupCode;
    }
 
    @Data
    public static class RepeatDelete {
        private String operationCode;
        private String groupCode;
        private String rowId;
        private String reason;
    }
 
    @Data
    public static class RepeatRestore {
        private String operationCode;
        private String groupCode;
        private String rowId;
    }
 
    @Data
    public static class Create {
        private String testWorkItemId;
        private String operationCode;
    }
 
    @Data
    public static class BatchCreate {
        private List<String> testWorkItemIds;
        private String operationCode;
    }
 
    @Data
    public static class SharedFillPreview {
        private List<String> testWorkItemIds;
    }
 
    @Data
    public static class SharedFillExecute {
        private List<String> testWorkItemIds;
        private String previewToken;
        private String operationCode;
        private List<SharedFillValue> values;
        /** @deprecated 使用 values 提交一个或多个字段。 */
        @Deprecated
        private String fieldVersionId;
        /** @deprecated 使用 values 提交一个或多个字段。 */
        @Deprecated
        private String value;
        private List<SharedFillTarget> targets;
    }
 
    @Data
    public static class SharedFillValue {
        private String fieldVersionId;
        private String value;
    }
 
    @Data
    public static class SharedFillTarget {
        private String testWorkItemId;
        private String recordId;
        private Integer expectedRecordVersion;
        private Boolean overwrite;
        private String overwriteReason;
    }
 
    @Data
    public static class Recalculate {
        private Integer expectedRecordVersion;
        private String operationCode;
    }
 
    @Data
    public static class SourceSync {
        private Integer expectedRecordVersion;
        private String previewToken;
        private String operationCode;
        private java.util.Map<String, String> clearReasons = new java.util.LinkedHashMap<>();
    }
 
    private ElnRecordForms() {
    }
}