I'd like to create a dynamic model.

In fact, I have this seeder :

```
class TestSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        DB::table('tests')->insert([
            'name_test' => $name_test
        ]);
    }
}

```

And I need to send arguments from my controller :

```
public function addTest(Request $request)
{
    $request->validate([
            'name_test' => 'required|max:255'
        ], [
            'name_test.required' => 'Es necesario rellenar el campo de nombre',
            'name_test.max' => 'El nombre del test debe ser máxim de 255 catacteres',
        ]);

    $input = $request->all();

    //$test = Test::create($input);

    return back()->with('success', 'El test se ha creado correctamente.');
}

```

However, I have no idea how I can do it.

Any ideas ?