2026-06-24 f4bd1f3c89d906131495a0aca5aaf82966378510
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
package cn.iocoder.yudao.framework.desensitize.core.slider.handler;
 
import cn.iocoder.yudao.framework.desensitize.core.slider.annotation.CarLicenseDesensitize;
 
/**
 * {@link CarLicenseDesensitize} 的脱敏处理器
 *
 * @author gaibu
 */
public class CarLicenseDesensitization extends AbstractSliderDesensitizationHandler<CarLicenseDesensitize> {
 
    @Override
    Integer getPrefixKeep(CarLicenseDesensitize annotation) {
        return annotation.prefixKeep();
    }
 
    @Override
    Integer getSuffixKeep(CarLicenseDesensitize annotation) {
        return annotation.suffixKeep();
    }
 
    @Override
    String getReplacer(CarLicenseDesensitize annotation) {
        return annotation.replacer();
    }
 
    @Override
    public String getDisable(CarLicenseDesensitize annotation) {
        return annotation.disable();
    }
 
}