package com.heima.model.common.annotation; import com.fasterxml.jackson.annotation.JacksonAnnotation; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @JacksonAnnotation @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER}) public @interface IdEncrypt { }
标签:lang,jackson,自定义,java,JacksonAnnotation,import,ElementType,annotation From: https://www.cnblogs.com/ZhangZiXue/p/17500163.html