package ${packageName}.domain.vo;

#foreach ($import in $importList)
import ${import};
#end
import com.alibaba.excel.annotation.ExcelProperty;
import com.taais.common.excel.annotation.ExcelDictFormat;
import com.taais.common.excel.convert.ExcelDictConvert;
import lombok.Data;
import java.io.Serial;
import java.io.Serializable;
import lombok.NoArgsConstructor;

/**
 * ${functionName}导入视图对象 ${tableName}
 *
 * @author ${author}
 * @date ${datetime}
 */

@Data
@NoArgsConstructor
public class ${ClassName}ImportVo implements Serializable
{

    @Serial
    private static final long serialVersionUID = 1L;

#foreach ($column in $columns)
 #if($column.isPk=='1')
    #if($table.tree)
     /** $column.columnComment */
     @ExcelProperty(value = "${column.columnComment}")
     private $column.javaType $column.javaField;
    #end
 #end
#end

    #foreach ($column in $columns)
#if($column.isPk!='1')
#if(!$table.isSuperColumn($column.javaField)  || ($column.javaField.equals("parentId"))  || ($column.javaField.equals("orderNum")))
     /** $column.columnComment */
#if($column.list)
#set($parentheseIndex=$column.columnComment.indexOf("（"))
#if($parentheseIndex != -1)
#set($comment=$column.columnComment.substring(0, $parentheseIndex))
#else
#set($comment=$column.columnComment)
#end
#if(${column.dictType} && ${column.dictType} != '')
    @ExcelProperty(value = "${comment}", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "${column.dictType}")
#elseif($parentheseIndex != -1)
    @ExcelProperty(value = "${comment}", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "$column.readConverterExp()")
#else
    @ExcelProperty(value = "${comment}")
#end
    private $column.javaType $column.javaField;

#else
    @ExcelProperty(value = "${column.columnComment}")
    private $column.javaType $column.javaField;

#end
#end
#end
#end

}
