mirror of
https://github.com/coollabsio/coolify.git
synced 2026-11-06 13:10:37 -04:00
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: peaklabs-dev <122374094+peaklabs-dev@users.noreply.github.com> Co-authored-by: Aditya Tripathi <aditya@climactic.co>
27 lines
675 B
PHP
27 lines
675 B
PHP
<?php
|
|
|
|
namespace Database\Factories;
|
|
|
|
use App\Models\Application;
|
|
use App\Models\ImageScanNotificationState;
|
|
use App\Models\Team;
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
/**
|
|
* @extends Factory<ImageScanNotificationState>
|
|
*/
|
|
class ImageScanNotificationStateFactory extends Factory
|
|
{
|
|
public function definition(): array
|
|
{
|
|
return [
|
|
'resource_type' => (new Application)->getMorphClass(),
|
|
'resource_id' => fake()->unique()->numberBetween(1, 1_000_000),
|
|
'team_id' => Team::factory(),
|
|
'notified_ids' => [],
|
|
'notified_candidates' => [],
|
|
'is_baseline' => false,
|
|
];
|
|
}
|
|
}
|