All Downloads are FREE. Search and download functionalities are using the official Maven repository.

template.Excel.vm Maven / Gradle / Ivy

There is a newer version: 4.1.65
Show newest version
package ${package}.modules.${moduleName}.excel;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;
import lombok.EqualsAndHashCode;

#if(${hasBigDecimal})
import java.math.BigDecimal;
#end
import java.util.Date;

/**
 * ${comments}
 *
 * @author ${author} ${email}
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class ${className}Excel {
#foreach ($column in $columns)
    #if($column.columnName != 'id' && $column.columnName != 'creator' && $column.columnName != 'create_id' && $column.columnName != 'create_date' && $column.columnName != 'create_time' && $column.columnName != 'updater' && $column.columnName != 'update_id' && $column.columnName != 'update_date' && $column.columnName != 'update_time' && $column.columnName != 'del_flag' && $column.columnName != 'deleted')
        @Excel(name = "$!column.comments")
    private $column.attrType $column.attrname;
    #end
#end

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy