package cn.superdesk.uniorder.common.security.sensitive.annotion;

import cn.superdesk.uniorder.common.security.sensitive.constants.SensitiveTypeEnum;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @Description: 敏感数据脱敏注解
 * @Author: linjinyu
 * @CreateDate: 2021/11/25 上午9:28
 * @UpdateUser: linjinyu
 * @UpdateDate: 2021/11/25 上午9:28
 * @UpdateRemark: 修改内容
 * @Version: 1.0
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface Desensitized {

	/**
	 * 脱敏类型 {@EnumSensitiveType}
	 */
	SensitiveTypeEnum type();
}