<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;

class KycFormSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        $fields = [
            [
                'label' => 'Nid Number',
                'field_type' => 'number',
                'required' => true,
                'options' => null,
                'placeholder' => 'Enter Nid Number',
                'position' => 1,
            ],
            [
                'label' => 'Passport Number',
                'field_type' => 'number',
                'required' => true,
                'options' => null,
                'placeholder' => 'Enter Passport Number',
                'position' => 2,
            ],
            [
                'label' => 'Nid Image Front',
                'field_type' => 'image',
                'required' => true,
                'options' => null,
                'placeholder' => null,
                'position' => 3,
            ],
            [
                'label' => 'Nid Image Back',
                'field_type' => 'image',
                'required' => true,
                'options' => null,
                'placeholder' => null,
                'position' => 4,
            ],
            [
                'label' => 'Passport Image',
                'field_type' => 'image',
                'required' => true,
                'options' => null,
                'placeholder' => null,
                'position' => 5,
            ],
        ];

        foreach ($fields as $field) {
            \App\Models\KycForm::create($field);
        }
    }
}
