<?php

namespace App\Imports;

use App\a_excelupload;
use Maatwebsite\Excel\Concerns\ToModel;

class ExcelImport implements ToModel
{
    /**
    * @param array $row
    *
    * @return \Illuminate\Database\Eloquent\Model|null
    */
    public function model(array $row)
    {
        return new a_excelupload([
                'name' => $row[0],
                'description' => $row[1], 
              //
        ]);
    }
}
