package com.vci.starter.poi.annotation; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * 使用其他的对象来获取excel的内容 * @author weidy * @date 2020/6/18 */ @Target({ java.lang.annotation.ElementType.FIELD}) @Retention(RetentionPolicy.RUNTIME) public @interface ExcelRefer { /** * 包含的关联类,只能是一个,否则无法区分内容 * @return 类 */ Class value(); }