<?php

use Illuminate\Database\Seeder;

class JobsTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        DB::table('jobs')->insert([
            [
                'name' => "Indéterminé",
                'desc' => "Aucun poste",
                'acces_level' => '0',
                'schedule_see' => false,
                'schedule_edit' => false,
                'schedule_notify' => false,
                'message_see' => false,
                'message_edit' => false,
                'message_notify' => false,
                'paper_edit' => false,
                'paper_publish' => false,
                'paper_notify' => false,
                'inventory_see' => false,
                'inventory_edit' => false,
                'inventory_notify' => false,
                'user_see' => false,
                'user_edit' => false,
                'user_notify' => false
            ],
            [
                'name' => "Cadet Commandant",
                'desc' => "Description a modifier ...",
                'acces_level' => '2',
                'schedule_see' => true,
                'schedule_edit' => true,
                'schedule_notify' => true,
                'message_see' => true,
                'message_edit' => true,
                'message_notify' => true,
                'paper_edit' => true,
                'paper_publish' => true,
                'paper_notify' => false,
                'inventory_see' => true,
                'inventory_edit' => true,
                'inventory_notify' => false,
                'user_see' => true,
                'user_edit' => true,
                'user_notify' => false
            ],
            [
                'name' => "Chef Instructeur",
                'desc' => "Description a modifier ...",
                'acces_level' => '2',
                'schedule_see' => true,
                'schedule_edit' => true,
                'schedule_notify' => false,
                'message_see' => true,
                'message_edit' => true,
                'message_notify' => true,
                'paper_edit' => true,
                'paper_publish' => true,
                'paper_notify' => false,
                'inventory_see' => true,
                'inventory_edit' => true,
                'inventory_notify' => false,
                'user_see' => true,
                'user_edit' => false,
                'user_notify' => false
            ],
            [
                'name' => "Adjudant Maitre d'Escadron",
                'desc' => "Description a modifier ...",
                'acces_level' => '2',
                'schedule_see' => true,
                'schedule_edit' => false,
                'schedule_notify' => false,
                'message_see' => true,
                'message_edit' => true,
                'message_notify' => true,
                'paper_edit' => true,
                'paper_publish' => true,
                'paper_notify' => false,
                'inventory_see' => true,
                'inventory_edit' => true,
                'inventory_notify' => false,
                'user_see' => true,
                'user_edit' => false,
                'user_notify' => false
            ]
        ]);
    }
}
