guoshilong
2024-03-25 a6e044780082d6a6507f64edb9a5242b779fb6ee
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
31
32
33
34
35
36
37
38
39
40
package cn.gistack.sm.sjztmd.excel;
 
import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;
 
import java.io.Serializable;
 
@Data
@ColumnWidth(25)
@HeadRowHeight(20)
@ContentRowHeight(18)
public class TbProjectExcel implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    @ColumnWidth(15)
    @ExcelProperty("地市")
    private String  cityName;
 
    @ExcelIgnore
    @ExcelProperty("县市区")
    private String countyName;
 
    @ExcelIgnore
    @ExcelProperty("中央投资")
    private Double centerFund;
 
    @ExcelIgnore
    @ExcelProperty("地方投资")
    private Double localFund;
 
    @ExcelIgnore
    @ExcelProperty("填报年份")
    private String tbYear;
 
}