mivita/database/factories/IncentiveNewAboFactory.php
2026-04-10 17:15:27 +02:00

21 lines
499 B
PHP

<?php
namespace Database\Factories;
use App\Models\IncentiveNewAbo;
use App\Models\IncentiveParticipant;
use Illuminate\Database\Eloquent\Factories\Factory;
class IncentiveNewAboFactory extends Factory
{
protected $model = IncentiveNewAbo::class;
public function definition(): array
{
return [
'participant_id' => IncentiveParticipant::factory(),
'user_abo_id' => $this->faker->randomNumber(3),
'activated_at' => now(),
];
}
}