package com.iailab.framework.desensitize.core.slider.handler; import com.iailab.framework.desensitize.core.slider.annotation.IdCardDesensitize; /** * {@link IdCardDesensitize} 的脱敏处理器 * * @author gaibu */ public class IdCardDesensitization extends AbstractSliderDesensitizationHandler { @Override Integer getPrefixKeep(IdCardDesensitize annotation) { return annotation.prefixKeep(); } @Override Integer getSuffixKeep(IdCardDesensitize annotation) { return annotation.suffixKeep(); } @Override String getReplacer(IdCardDesensitize annotation) { return annotation.replacer(); } }