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