SPC/ym-generator/src/main/resources/templates/Excel.java.vm
2022-06-21 08:58:20 +08:00

24 lines
437 B
Plaintext

package ${package.Parent}.excel;
import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;
import java.time.LocalDateTime;
import java.math.BigDecimal;
import java.util.Date;
/**
* ${table.comment}
*
* @author ${author}
* @since ${date}
*/
@Data
public class ${entity}Excel {
#foreach($field in ${table.fields})
@Excel(name = "$!field.comment")
private ${field.propertyType} ${field.propertyName};
#end
}