Training Part 1;

This commit is contained in:
kagir committed 2024-01-27 19:09:56 +01:00
1 parent 6627021355
commit 5d05167492
40 files changed
+26497 -105

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
<?php
namespace Database\Factories;
use App\Models\Word;
use Illuminate\Database\Eloquent\Factories\Factory;
use Illuminate\Support\Carbon;
class WordFactory extends Factory
{
protected $model = Word::class;
public function definition(): array
{
return [
'name' => $this->faker->name(),
'translation' => $this->faker->word(),
'created_at' => Carbon::now(),
'updated_at' => Carbon::now(),
];
}
}