forked from github/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.
18 lines
451 B
18 lines
451 B
package com.alibaba.easyexcel.test.core.fill; |
|
|
|
import com.alibaba.excel.annotation.ExcelProperty; |
|
import com.alibaba.excel.annotation.format.NumberFormat; |
|
import com.alibaba.excel.converters.doubleconverter.DoubleStringConverter; |
|
|
|
import lombok.Data; |
|
|
|
/** |
|
* @author Jiaju Zhuang |
|
*/ |
|
@Data |
|
public class FillData { |
|
private String name; |
|
@NumberFormat("#") |
|
@ExcelProperty(converter = DoubleStringConverter.class) |
|
private double number; |
|
}
|
|
|