Excel.java.vm 450 Bytes
Newer Older
mengmeng's avatar
mengmeng committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
package ${package}.modules.${moduleName}.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

}