| | |
| | | package ${packageName}.domain;
|
| | |
|
| | | #foreach ($import in $importList)
|
| | | import ${import};
|
| | | #end
|
| | | import org.apache.commons.lang3.builder.ToStringBuilder;
|
| | | import org.apache.commons.lang3.builder.ToStringStyle;
|
| | | import com.ruoyi.framework.aspectj.lang.annotation.Excel;
|
| | |
| | | import com.ruoyi.framework.web.domain.BaseEntity;
|
| | | #elseif($table.tree)
|
| | | import com.ruoyi.framework.web.domain.TreeEntity;
|
| | | #end
|
| | | #foreach ($import in $importList)
|
| | | import ${import};
|
| | | #end
|
| | |
|
| | | /**
|
| | |
| | | #if($parentheseIndex != -1)
|
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
| | | #elseif($column.javaType == 'Date')
|
| | | @JsonFormat(pattern = "yyyy-MM-dd")
|
| | | @Excel(name = "${comment}", width = 30, dateFormat = "yyyy-MM-dd")
|
| | | #else
|
| | | @Excel(name = "${comment}")
|