cn.amossun.starter.common.annotation.DataSecurity Maven / Gradle / Ivy
package cn.amossun.starter.common.annotation;
/**
* @description:
* @author: Amos.Sun
* @DateTime: 2020/03/08 16:42
**/
import cn.amossun.starter.common.enums.DesensitizedType;
import java.lang.annotation.*;
@Inherited
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface DataSecurity {
boolean decrypt() default false;
String delimiter() default "";
DesensitizedType desensitizedType() default DesensitizedType.DEFAULT_SKIP;
}