<?php

namespace Database\Seeders;

use App\Models\KeyDate;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;

class KeyDateSeeder extends Seeder
{
    public $keyDates = [
        'Lead Generated',
        'Introductory Email Sent',
        'First Client Call',
        'Medical SARs Sent',
        'Medical SARs Received',
        'Institutional SARs Sent',
        'Institutional SARs Received',
        'Local Authority SARs Sent',
        'Local Authority SARs Received',
        'Application Completed',
        'Sent To Scottish Government',
        'Reviewed By Caseworker',
        'Application Submitted to Redress Scotland',
        'Application Received at Redress Scotland',
        'Panel Meets at Redress Scotland',
        'Panel Requested More Information',
        'Information Resubmitted To Redress Scotland',
        'Panel Sends Decision to Scottish Government',
        'Letter Received from Scottish Government with Offer & Legal Waiver',
        'Offer Accepted by Client',
        'Offer Rejected by Client',
        'Offer Appealed by Client',
    ];
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        foreach ($this->keyDates as $keyDate) {
            KeyDate::create([
                'display_name' => $keyDate,
            ]);
        }
    }
}
