2024-01-15 15:39:09 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
namespace Database\Factories;
|
|
|
|
|
|
2025-05-20 12:51:38 +02:00
|
|
|
use App\Models\Tenant;
|
2024-01-15 15:39:09 +01:00
|
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\Font>
|
|
|
|
|
*/
|
|
|
|
|
class FontFactory extends Factory
|
|
|
|
|
{
|
|
|
|
|
/**
|
|
|
|
|
* Define the model's default state.
|
|
|
|
|
*
|
|
|
|
|
* @return array<string, mixed>
|
|
|
|
|
*/
|
|
|
|
|
public function definition(): array
|
|
|
|
|
{
|
2025-05-20 12:51:38 +02:00
|
|
|
return [
|
|
|
|
|
'tenant_id' => Tenant::query()->first('id'),
|
|
|
|
|
];
|
2024-01-15 15:39:09 +01:00
|
|
|
}
|
|
|
|
|
}
|