31 lines
663 B
PHP
31 lines
663 B
PHP
<?php
|
|
|
|
namespace Database\Factories;
|
|
|
|
use App\Models\BazaarRelease;
|
|
use App\Models\MobileApp;
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
/**
|
|
* @extends Factory<BazaarRelease>
|
|
*/
|
|
class BazaarReleaseFactory extends Factory
|
|
{
|
|
/**
|
|
* Define the model's default state.
|
|
*
|
|
* @return array<string, mixed>
|
|
*/
|
|
public function definition(): array
|
|
{
|
|
return [
|
|
'mobile_app_id' => MobileApp::factory(),
|
|
'status' => 'draft',
|
|
'artifact_type' => 'apk',
|
|
'staged_rollout_percentage' => 100,
|
|
'auto_publish' => false,
|
|
'bazaar_response' => [],
|
|
];
|
|
}
|
|
}
|