地质所 沉降监测网建设项目
suerwei
2024-06-12 5a5a17c159e8e375a5780de866afce4173ec4c1b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package com.javaweb.common.annotation;
 
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
 
/**
 * excel导入注解
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface ExcelImport {
    /**
     * 导入excel的第几列,从0开始
     * @return
     */
    public int colNum();
 
    /**
     * 导入excel的列头名称
     * @return
     */
    public String colName();
    
    /**
     * 提示信息
     */
    public abstract String prompt() default "";
}