package com.project.common.annotation;
|
|
import java.lang.annotation.ElementType;
|
import java.lang.annotation.Retention;
|
import java.lang.annotation.RetentionPolicy;
|
import java.lang.annotation.Target;
|
|
/**
|
* 功能描述:
|
*
|
* @author ZQN
|
* @version 1.0 2025-03-25 17:01
|
*/
|
@Target(ElementType.FIELD)
|
@Retention(RetentionPolicy.RUNTIME)
|
public @interface Sensitive {
|
SensitiveType type() default SensitiveType.DEFAULT;
|
|
enum SensitiveType {
|
DEFAULT,
|
PHONE,
|
EMAIL,
|
ID_CARD
|
}
|
}
|