21 lines
499 B
PHP
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(),
|
|
];
|
|
}
|
|
}
|