<?php

namespace Database\Seeders;

use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;

class TypeOfMovementSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        $typeOfMovement = [
            [
                'name' => 'Promotion to: Position',
                'request_for' => 'PAF',
                'created_at' => now(),
                'updated_at' => now(),
            ],
            [
                'name' => 'Transfer to: Position',
                'request_for' => 'PAF',
                'created_at' => now(),
                'updated_at' => now(),
            ],
            [
                'name' => 'Reassignment: Position',
                'request_for' => 'PAF',
                'created_at' => now(),
                'updated_at' => now(),
            ],
            [
                'name' => 'Salary alignment/adjustment due to',
                'request_for' => 'PAF',
                'created_at' => now(),
                'updated_at' => now(),
            ],
            [
                'name' => 'Seperation due to',
                'request_for' => 'PAF',
                'created_at' => now(),
                'updated_at' => now(),
            ],
            [
                'name' => 'Relocation to: Unit',
                'request_for' => 'PAF',
                'created_at' => now(),
                'updated_at' => now(),
            ],
            [
                'name' => 'Designation as OIC: Position',
                'request_for' => 'PAF',
                'created_at' => now(),
                'updated_at' => now(),
            ],
            [
                'name' => 'Detail to: Position',
                'request_for' => 'PAF',
                'created_at' => now(),
                'updated_at' => now(),
            ],
            [
                'name' => 'Development Assignment: Position',
                'request_for' => 'PAF',
                'created_at' => now(),
                'updated_at' => now(),
            ],
            [
                'name' => 'Position Classification/Reclassification',
                'request_for' => 'PAF',
                'created_at' => now(),
                'updated_at' => now(),
            ],
            [
                'name' => 'Others (Specify)',
                'request_for' => 'PAF',
                'created_at' => now(),
                'updated_at' => now(),
            ],
        ];

        \App\Models\TypeOfMovement::insert($typeOfMovement);
    }

    public function reset(){
        \App\Models\TypeOfMovement::truncate();
    }
}
