chenjiahe
2023-01-10 bcc2fa8323a61920c7d2a6139c38fc25b17baa7f
提交 | 用户 | age
e29546 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 {
c64e12 13     /**秘钥-没有就是配置文件设置*/
C 14     String aesKey() default "";
b1097d 15     /**数据库数据初始化版本*/
C 16     String initVersion() default "";
c64e12 17     /**xml生成查询解密*/
e29546 18     boolean selectDec() default false;
c64e12 19     /**xml更新加密*/
C 20     boolean updateDec() default false;
21     /**xml新增加密*/
22     boolean insertDec() default false;
e29546 23
C 24 }