forked from fanruan/easyexcel
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
541 B
28 lines
541 B
package com.alibaba.easyexcel.test.temp.csv; |
|
|
|
import java.util.Date; |
|
|
|
import com.alibaba.excel.annotation.ExcelIgnore; |
|
import com.alibaba.excel.annotation.ExcelProperty; |
|
|
|
import lombok.Data; |
|
|
|
/** |
|
* TODO |
|
* |
|
* @author Jiaju Zhuang |
|
*/ |
|
@Data |
|
public class CsvData { |
|
@ExcelProperty("字符串标题") |
|
private String string; |
|
@ExcelProperty("日期标题") |
|
private Date date; |
|
@ExcelProperty("数字标题") |
|
private Double doubleData; |
|
/** |
|
* 忽略这个字段 |
|
*/ |
|
@ExcelIgnore |
|
private String ignore; |
|
}
|
|
|