love.keeping.starter.web.annotations.convert.EncryptConvert Maven / Gradle / Ivy
The newest version!
package love.keeping.starter.web.annotations.convert;
import love.keeping.starter.web.annotations.constants.EncryType;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Dto转Bo时,是否为脱敏字段 只对字符串有效
*/
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface EncryptConvert {
/**
* 类型
*
* @return
*/
EncryType type() default EncryType.AUTO;
}