| 12345678910111213141516171819 |
- package com.poyee.annotation;
- import org.jetbrains.annotations.NotNull;
- import java.lang.annotation.*;
- /**
- * json映射
- */
- @Target({ElementType.FIELD})
- @Retention(RetentionPolicy.RUNTIME)
- @Documented
- public @interface JsonMapper {
- @NotNull
- String name() default "";
- //类型举例
- String readConverterExp() default "" ;
- }
|