|
|
|
@ -38,12 +38,12 @@ private static final long serialVersionUID=1L;
|
|
|
|
|
#set($comment=$column.columnComment)
|
|
|
|
|
#end
|
|
|
|
|
#if($parentheseIndex != -1)
|
|
|
|
|
@Excel(name = "${comment}" , readConverterExp = "$column.readConverterExp()" )
|
|
|
|
|
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
|
|
|
|
#elseif($column.javaType == 'Date')
|
|
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd" )
|
|
|
|
|
@Excel(name = "${comment}" , width = 30, dateFormat = "yyyy-MM-dd" )
|
|
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
|
|
@Excel(name = "${comment}", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
|
|
|
|
#else
|
|
|
|
|
@Excel(name = "${comment}" )
|
|
|
|
|
@Excel(name = "${comment}")
|
|
|
|
|
#end
|
|
|
|
|
#end
|
|
|
|
|
private $column.javaType $column.javaField;
|
|
|
|
@ -51,7 +51,7 @@ private static final long serialVersionUID=1L;
|
|
|
|
|
#end
|
|
|
|
|
#end
|
|
|
|
|
#if($table.sub)
|
|
|
|
|
/** $table.subTable.functionName信息 */
|
|
|
|
|
/** $table.subTable.functionName信息 */
|
|
|
|
|
private List<${subClassName}> ${subclassName}List;
|
|
|
|
|
|
|
|
|
|
#end
|
|
|
|
@ -95,10 +95,10 @@ public String toString(){
|
|
|
|
|
#else
|
|
|
|
|
#set($AttrName=$column.javaField.substring(0,1).toUpperCase() + ${column.javaField.substring(1)})
|
|
|
|
|
#end
|
|
|
|
|
.append("${column.javaField}" ,get${AttrName}())
|
|
|
|
|
.append("${column.javaField}",get${AttrName}())
|
|
|
|
|
#end
|
|
|
|
|
#if($table.sub)
|
|
|
|
|
.append("${subclassName}List" ,get${subClassName}List())
|
|
|
|
|
.append("${subclassName}List",get${subClassName}List())
|
|
|
|
|
#end
|
|
|
|
|
.toString();
|
|
|
|
|
}
|
|
|
|
|