<?php
/**
 * Class 对象表 扩展类
 */
class id4 extends mod{
	function __construct(){
		$e = require(mvc::$cfg['ROOT'].'mod/element/object.php');
		parent::__construct($e);
    }
	/**
	 * Method 列表数据
	 * @param string $params 提交的参数
	 * @param arrat $rootRow 子树根
	 * @return array 数据集
	 */
	public function formartParams(&$params){
		
	}
	/**
	 * Method 导入配置
	 * 'type'=>'exts' , base|ext
	 * @param string $config 接收的变量
	 * @return array 数据集
	 */
	public function getImportConfig(&$config){
		$config = [
			'iscover'=> true, //已生在是否覆盖
			'cols'=>[
				['title'=>'账号','type'=>'base','rules'=>[
					'field'=> 'o_code',
				]],

				['title'=>'公司','type'=>'base','rules'=>[
					'field'=> 'o_name',
				]],
			]
		];
		return $config;
	}
}

