houzhongjian
2024-11-07 a874b928e16320839315b9abcdf2cece1229a424
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
package com.iailab.framework.desensitize.core.slider.handler;
 
import com.iailab.framework.desensitize.core.slider.annotation.MobileDesensitize;
 
/**
 * {@link MobileDesensitize} 的脱敏处理器
 *
 * @author gaibu
 */
public class MobileDesensitization extends AbstractSliderDesensitizationHandler<MobileDesensitize> {
 
    @Override
    Integer getPrefixKeep(MobileDesensitize annotation) {
        return annotation.prefixKeep();
    }
 
    @Override
    Integer getSuffixKeep(MobileDesensitize annotation) {
        return annotation.suffixKeep();
    }
 
    @Override
    String getReplacer(MobileDesensitize annotation) {
        return annotation.replacer();
    }
}