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;
|
}
|
}
|