“djh”
2026-02-03 9fa1e9aa80718718c2991b5fb32db0dd50ef1248
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package com.gkhy.exam.common.annotation;
 
import com.gkhy.exam.common.enums.SensitiveTypeEnum;
 
import java.lang.annotation.*;
 
/**
 * 数据脱敏注解,字段上含有该注解表示需要数据脱敏
 */
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface DataDesensitizationType {
    /**
     * 脱敏类型(规则)
     * @return
     */
    SensitiveTypeEnum type();
}