<?php

namespace Database\Seeders;

use App\Models\Document\DocumentType;
use Illuminate\Database\Seeder;

class DocumentTypeSeeder extends Seeder {
    public array $documentTypes = [
        'ID',
        'POA',
        'Bank Statement',
        'CFA',
        'LOA',
        'Part 1',
        'Part 3',
        'Personal Statement',
        'Claim Form',
        'Application Receipt',
        'DSAR'
    ];

    /**
     * Run the database seeds.
     */
    public function run(): void {
        foreach ($this->documentTypes as $documentType) {
            DocumentType::create([
                'display_name' => $documentType
            ]);
        }
    }
}
