Categories (NN)
This commit is contained in:
24
laravel/database/factories/CategorieFactory.php
Normal file
24
laravel/database/factories/CategorieFactory.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Factories;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\Factory;
|
||||
|
||||
/**
|
||||
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\Categorie>
|
||||
*/
|
||||
class CategorieFactory extends Factory
|
||||
{
|
||||
/**
|
||||
* Define the model's default state.
|
||||
*
|
||||
* @return array<string, mixed>
|
||||
*/
|
||||
public function definition(): array
|
||||
{
|
||||
return [
|
||||
//
|
||||
'CAT_NOM' => fake()->text(10),
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user