*/ class PolicyFactory extends Factory { /** * Define the model's default state. * * @return array */ public function definition(): array { return [ 'tenant_id' => \App\Models\Tenant::factory(), 'external_id' => fake()->uuid(), 'display_name' => fake()->words(3, true), 'policy_type' => 'deviceConfiguration', 'platform' => 'windows10AndLater', 'metadata' => ['key' => 'value'], ]; } }