24 lines
614 B
PHP
24 lines
614 B
PHP
<?php
|
|
|
|
namespace Database\Factories;
|
|
|
|
use App\Models\NominationEnsembleEntry;
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
use Illuminate\Support\Carbon;
|
|
|
|
class NominationEnsembleEntryFactory extends Factory
|
|
{
|
|
protected $model = NominationEnsembleEntry::class;
|
|
|
|
public function definition(): array
|
|
{
|
|
return [
|
|
'student_id' => $this->faker->randomNumber(),
|
|
'nomination_ensemble_id' => $this->faker->randomNumber(),
|
|
'data' => $this->faker->words(),
|
|
'created_at' => Carbon::now(),
|
|
'updated_at' => Carbon::now(),
|
|
];
|
|
}
|
|
}
|