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.
26 lines
430 B
26 lines
430 B
6 years ago
|
package ${package}.excel;
|
||
|
|
||
|
import cn.afterturn.easypoi.excel.annotation.Excel;
|
||
|
import lombok.Data;
|
||
|
|
||
|
#if(${hasBigDecimal})
|
||
|
import java.math.BigDecimal;
|
||
|
#end
|
||
|
import java.util.Date;
|
||
|
|
||
|
/**
|
||
|
* ${comments}
|
||
|
*
|
||
|
* @author ${author} ${email}
|
||
|
* @since ${version} ${date}
|
||
|
*/
|
||
|
@Data
|
||
|
public class ${className}Excel {
|
||
|
|
||
|
#foreach ($column in $columns)
|
||
|
@Excel(name = "$!column.comments")
|
||
|
private $column.attrType $column.attrname;
|
||
|
|
||
|
#end
|
||
|
|
||
|
}
|