protected function createVisionModelFile($database, $configs)
    {
        $tables = $this->getTableList($database);

        $database = ucfirst($database);

        foreach( $tables as $table )
        {
            (new File)->object
            (
                'model', 
                $this->getDatabaseVisionClassName($database, $table),
                [
                    'path'      => $this->getDatabaseVisionDirectory($database),
                    'namespace' => $this->getDatabaseVisionNamespace($database),
                    'use'       => ['GrandModel'],
                    'extends'   => 'GrandModel',
                    'constants' =>
                    [
                        'table'      => "'".ucfirst($table)."'",
                        'connection' => $this->stringArray($configs)
                    ]
                ]
            );
        }
    }