chenjiahe
5 天以前 826b66207dafbce24f441cb83fed1b241a6fba27
提交 | 用户 | age
826b66 1 package com.hx.common.annotations;
C 2
3 import java.lang.annotation.*;
4
5 /**
6  * 指定mysql的AES加密字段
7  * @author CJH
8  */
9 @Target({ElementType.FIELD})
10 @Retention(RetentionPolicy.RUNTIME)
11 @Documented
12 public @interface MysqlHexAes {
13     /**秘钥-没有就是配置文件设置*/
14     String aesKey() default "";
15     /**数据库数据初始化版本*/
16     String initVersion() default "";
17     /**xml生成查询解密*/
18     boolean selectDec() default false;
19     /**xml更新加密*/
20     boolean updateDec() default false;
21     /**xml新增加密*/
22     boolean insertDec() default false;
23
24 }