package com.hx.common.annotations;
|
|
import java.lang.annotation.*;
|
|
/**
|
* 指定mysql的AES加密字段
|
* @author CJH
|
*/
|
@Target({ElementType.FIELD})
|
@Retention(RetentionPolicy.RUNTIME)
|
@Documented
|
public @interface MysqlHexAes {
|
/**秘钥字段*/
|
String aesKeyField() default "";
|
/**秘钥*/
|
String aesKey();
|
/**查询解密*/
|
boolean selectDec() default false;
|
|
}
|