package com.hx.common.annotations; import java.lang.annotation.*; /** * 指定mysql的AES加密字段 * @author CJH */ @Target({ElementType.FIELD}) @Retention(RetentionPolicy.RUNTIME) @Documented public @interface MysqlHexAes { /**秘钥-没有就是配置文件设置*/ String aesKey() default ""; /**xml生成查询解密*/ boolean selectDec() default false; /**xml更新加密*/ boolean updateDec() default false; /**xml新增加密*/ boolean insertDec() default false; }