*/ class TenantAnnouncementFactory extends Factory { /** * Define the model's default state. * * @return array */ public function definition(): array { return [ 'title' => $this->faker->sentence(4), 'body' => $this->faker->paragraph(3), 'cta_label' => null, 'cta_url' => null, 'status' => TenantAnnouncementStatus::DRAFT, 'audience' => TenantAnnouncementAudience::ALL, 'segments' => [], 'email_enabled' => true, 'starts_at' => null, 'ends_at' => null, ]; } }