generated from panliang/owl-admin-starter
28 lines
546 B
PHP
28 lines
546 B
PHP
<?php
|
|
|
|
namespace Database\Factories;
|
|
|
|
use App\Models\PartyCate;
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
/**
|
|
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\PartyCate>
|
|
*/
|
|
class PartyCateFactory extends Factory
|
|
{
|
|
protected $model = PartyCate::class;
|
|
|
|
/**
|
|
* Define the model's default state.
|
|
*
|
|
* @return array<string, mixed>
|
|
*/
|
|
public function definition(): array
|
|
{
|
|
$faker = $this->faker;
|
|
return [
|
|
'name' => $faker->streetName,
|
|
];
|
|
}
|
|
}
|