#if($table.crud || $table.sub)
import { PageQuery, BaseEntity } from '@/api/interface/index'
#elseif($table.tree)
import { BaseEntity } from '@/api/interface/index'
#end
export interface ${BusinessName}VO extends BaseEntity {
#foreach ($column in $columns)
    #if($column.list)
    /**
    * $column.columnComment
    */
        $column.javaField:#if($column.javaField.indexOf("id") != -1 || $column.javaField.indexOf("Id") != -1) string | number;
    #elseif($column.javaType == 'Long' || $column.javaType == 'Integer' || $column.javaType == 'Double' || $column.javaType == 'Float' || $column.javaType == 'BigDecimal') number;
    #elseif($column.javaType == 'Boolean') boolean;
    #else string;
    #end
    #end
#end
#if ($table.tree)
/**
* 子树对象
*/
children: ${BusinessName}VO[];
#end
#if($table.sub)
/** $table.subTable.functionName信息 */
    ${subclassName}List: Array<${subClassName}VO>;
#end
    }

    export interface ${BusinessName}Form {
#foreach ($column in $columns)
    #if($column.insert || $column.edit)
        /**
        * $column.columnComment
        */
        $column.javaField?:#if($column.javaField.indexOf("id") != -1 || $column.javaField.indexOf("Id") != -1) string | number;
    #elseif($column.javaType == 'Long' || $column.javaType == 'Integer' || $column.javaType == 'Double' || $column.javaType == 'Float' || $column.javaType == 'BigDecimal') number;
    #elseif($column.javaType == 'Boolean') boolean;
    #else string;
    #end
    #end
#end
    }

    export interface ${BusinessName}Query #if(!${treeCode})extends PageQuery #end{
#foreach ($column in $columns)
    #if($column.query)
        /**
        * $column.columnComment
        */
        $column.javaField?:#if($column.javaField.indexOf("id") != -1 || $column.javaField.indexOf("Id") != -1) string | number;
    #elseif($column.javaType == 'Long' || $column.javaType == 'Integer' || $column.javaType == 'Double' || $column.javaType == 'Float' || $column.javaType == 'BigDecimal') number;
    #elseif($column.javaType == 'Boolean') boolean;
    #else string;
    #end
    #end
#end
    /**
    * 日期范围参数
    */
    params?: any;
    }
