Viewing File: /htdocs/atito2/database/factories/TypeSalleFactory.php

<?php

namespace Database\Factories;

use App\Models\TypeSalle;
use Illuminate\Support\Str;
use Illuminate\Database\Eloquent\Factories\Factory;

class TypeSalleFactory extends Factory
{
    /**
     * The name of the factory's corresponding model.
     *
     * @var string
     */
    protected $model = TypeSalle::class;

    /**
     * Define the model's default state.
     *
     * @return array
     */
    public function definition()
    {
        return [
            'libelle' => $this->faker->text(255),
            'description' => $this->faker->text,
        ];
    }
}
Back to Directory File Manager