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(); }