<?php

namespace App\Database\Seeds;

use App\Models\Configuracion\MaquinaTareaModel;
use CodeIgniter\Database\Seeder;

class MaquinaTareaSeeder extends Seeder
{
    public function run()
    {
        $m = model(MaquinaTareaModel::class);
        $data = [
            [
                "name" => "Grapar",
                "description" => "Grapar (acabado)"
            ],
            [
                "name" => "Preparación en guillotina",
                "description" => "Guillotina (manipulado)"
            ],
            [
                "name" => "Espiral",
                "description" => "Perforadora Wire-o/Espiral (manipulado)"
            ],
            [
                "name" => "Plegar",
                "description" => "Plegadora-Grapadora (manipulado)"
            ],
            [
                "name" => "Coser",
                "description" => "Cosedora hilo (manipulado)"
            ],
            [
                "name" => "Cubrir",
                "description" => "Encuadernadora cola caliente (manipulado)"
            ],
            [
                "name" => "Corte",
                "description" => "Manipulado"
            ],
            [
                "name" => "Marcapáginas",
                "description" => "Acabado"
            ],
        ];
        $m->insertBatch($data);
    }
}
