kimi
2020-05-18 c8aee7b9bfd79cfd741d7e5692520f4f51a31a86
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 com.highdatas.mdm.entity;
 
/**
 * @author kimi
 * @description
 * @date 2020-04-24 20:49
 */
 
 
public class AntianaphylaxisResult {
 
    /**
     * number : 5
     * fieldName : 信息化项目
     * desensitizationType : D00202
     * ruleName : 测试
     * initialPosition : 3
     * ruleId : c196337ea2f74d6988b725b58a6cd063
     * initialDirection : mid
     */
 
    private Integer number;
    private String fieldName;
    private String desensitizationType;
    private String ruleName;
    private Integer initialPosition;
    private String ruleId;
    private BlurryType initialDirection;
 
 
    public AntianaphylaxisType getType() {
        if ("D00201".equalsIgnoreCase(desensitizationType)) {
            return AntianaphylaxisType.MD5;
        }else {
            return AntianaphylaxisType.Blurry;
        }
    }
    public Integer getNumber() {
        return number;
    }
 
    public void setNumber(Integer number) {
        this.number = number;
    }
 
    public String getFieldName() {
        return fieldName;
    }
 
    public void setFieldName(String fieldName) {
        this.fieldName = fieldName;
    }
 
    public String getDesensitizationType() {
        return desensitizationType;
    }
 
    public void setDesensitizationType(String desensitizationType) {
        this.desensitizationType = desensitizationType;
    }
 
    public String getRuleName() {
        return ruleName;
    }
 
    public void setRuleName(String ruleName) {
        this.ruleName = ruleName;
    }
 
    public Integer getInitialPosition() {
        return initialPosition;
    }
 
    public void setInitialPosition(Integer initialPosition) {
        this.initialPosition = initialPosition;
    }
 
    public String getRuleId() {
        return ruleId;
    }
 
    public void setRuleId(String ruleId) {
        this.ruleId = ruleId;
    }
 
    public BlurryType getInitialDirection() {
        return initialDirection;
    }
 
    public void setInitialDirection(BlurryType initialDirection) {
        this.initialDirection = initialDirection;
    }
}