12345678910111213141516171819 |
- package com.nuliji.tools.annotation;
- import java.lang.annotation.ElementType;
- import java.lang.annotation.Retention;
- import java.lang.annotation.RetentionPolicy;
- import java.lang.annotation.Target;
- /**
- * Created by GaoJie on 2017/11/3.
- */
- @Target(ElementType.TYPE)
- @Retention(RetentionPolicy.RUNTIME)
- public @interface Dto {
- /**
- * 对应的entity
- * @return
- */
- public Class entity() default Object.class;
- }
|