<?php

namespace Database\Seeders;

use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
use Spatie\Permission\Models\Permission;

class IdentityPermissionSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        // Service Params Permissions
        // section: page, document, input, output
        // document: ID, Passport, Birth ...

        // Basic Search Parameters
        Permission::create(['name' => 'Basic Search', 'permission_type'=>'Contract', 'section'=>'page', 'group'=>'basic', 'description'=>'User can perform a basic search option']);

        // [ID card data]
        Permission::create(['name' => 'Basic Search ID card', 'permission_type'=>'Contract', 'section'=>'document', 'group'=>'basic', 'description'=>'User can perform a basic search option using ID Card']);
        // input parameters
        Permission::create(['name' => 'Basic Search ID with Serial number', 'permission_type'=>'Contract', 'section'=>'input', 'document'=>'ID', 'group'=>'basic', 'description'=>'Basic Search using ID card Serial number']);
        Permission::create(['name' => 'Basic Search ID with ID number', 'permission_type'=>'Contract', 'section'=>'input', 'document'=>'ID', 'group'=>'basic', 'description'=>'Basic Search using ID card ID number']);
        // [Basic ID Output]
        // output parameters
        Permission::create(['name' => 'Basic View ID Details', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'ID', 'group'=>'basic', 'description'=>'Basic View ID card details']);
        Permission::create(['name' => 'Basic View ID Place of Residence', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'ID', 'group'=>'basic', 'description'=>'Basic View ID card Place of Residence']);
        Permission::create(['name' => 'Basic View ID Family', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'ID', 'group'=>'basic', 'description'=>'Basic View ID card Family']);
        Permission::create(['name' => 'Basic View ID Clan', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'ID', 'group'=>'basic', 'description'=>'Basic View ID card Clan']);
        Permission::create(['name' => 'Basic View ID Occupation', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'ID', 'group'=>'basic', 'description'=>'Basic View ID card Occupation']);
        Permission::create(['name' => 'Basic View ID Ethic group', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'ID', 'group'=>'basic', 'description'=>'Basic View ID card Ethic group']);
        Permission::create(['name' => 'Basic View ID Family relations', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'ID', 'group'=>'basic', 'description'=>'Basic View ID card Family relations']);
        Permission::create(['name' => 'Basic View ID Photo and Signature', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'ID', 'group'=>'basic', 'description'=>'Basic View ID card Photo and Signature']);
        Permission::create(['name' => 'Basic View ID Documents', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'ID', 'group'=>'basic', 'description'=>'Basic View ID card Documents']);
        Permission::create(['name' => 'Basic View ID History', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'ID', 'group'=>'basic', 'description'=>'Basic View ID card History']);

        // [Passport card data]
        Permission::create(['name' => 'Basic Search Passport card', 'permission_type'=>'Contract', 'section'=>'document', 'group'=>'basic', 'description'=>'User can perform a basic search option using Passport Card']);
        // input parameters
        Permission::create(['name' => 'Basic Search Passport with Passport number', 'permission_type'=>'Contract', 'section'=>'input', 'document'=>'Passport', 'group'=>'basic', 'description'=>'Basic Search using Passport card Passport number']);
        Permission::create(['name' => 'Basic Search Passport with ID number', 'permission_type'=>'Contract', 'section'=>'input', 'document'=>'Passport', 'group'=>'basic', 'description'=>'Basic Search using Passport card Serial number']);
        // [Basic Passport Output]
        // output parameters
        Permission::create(['name' => 'Basic View Passport Details', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Passport', 'group'=>'basic', 'description'=>'Basic View Passport details']);
        Permission::create(['name' => 'Basic View Passport Place of Residence', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Passport', 'group'=>'basic', 'description'=>'Basic View Passport Place of Residence']);
        Permission::create(['name' => 'Basic View Passport Family', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Passport', 'group'=>'basic', 'description'=>'Basic View Passport Family']);
        Permission::create(['name' => 'Basic View Passport Clan', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Passport', 'group'=>'basic', 'description'=>'Basic View Passport Clan']);
        Permission::create(['name' => 'Basic View Passport Occupation', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Passport', 'group'=>'basic', 'description'=>'Basic View Passport Occupation']);
        Permission::create(['name' => 'Basic View Passport Ethic group', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Passport', 'group'=>'basic', 'description'=>'Basic View Passport Ethic group']);
        Permission::create(['name' => 'Basic View Passport Family relations', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Passport', 'group'=>'basic', 'description'=>'Basic View Passport Family relations']);
        Permission::create(['name' => 'Basic View Passport Photo and Signature', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Passport', 'group'=>'basic', 'description'=>'Basic View Passport Photo and Signature']);
        Permission::create(['name' => 'Basic View Passport Documents', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Passport', 'group'=>'basic', 'description'=>'Basic View Passport Documents']);
        Permission::create(['name' => 'Basic View Passport History', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Passport', 'group'=>'basic', 'description'=>'Basic View Passport History']);

        // [Birth Certificate data]
        Permission::create(['name' => 'Basic Search Birth Certificate', 'permission_type'=>'Contract', 'section'=>'document', 'group'=>'basic', 'description'=>'User can perform a basic search option using Birth certificate']);
        // input parameters
        Permission::create(['name' => 'Basic Search Birth with Certificate number', 'permission_type'=>'Contract', 'section'=>'input', 'document'=>'Birth', 'group'=>'basic', 'description'=>'Search using Birth Certificate number']);
        Permission::create(['name' => 'Basic Search Birth with ID number', 'permission_type'=>'Contract', 'section'=>'input', 'document'=>'Birth', 'group'=>'basic', 'description'=>'Search using Birth ID number']);
        // [Basic Birt cert. Output]
        // output parameters
        Permission::create(['name' => 'Basic View Birth Details', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Birth', 'group'=>'basic', 'description'=>'Basic View Birth details']);
        Permission::create(['name' => 'Basic View Birth Mother ID number', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Birth', 'group'=>'basic', 'description'=>'Basic View Birth Mother ID number']);
        Permission::create(['name' => 'Basic View Birth Father ID number', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Birth', 'group'=>'basic', 'description'=>'Basic View Birth Father ID number']);
        Permission::create(['name' => 'Basic View Birth Place of Residence', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Birth', 'group'=>'basic', 'description'=>'Basic View Birth Place of Residence']);
        Permission::create(['name' => 'Basic View Birth Family', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Birth', 'group'=>'basic', 'description'=>'Basic View Birth Family']);
        Permission::create(['name' => 'Basic View Birth Clan', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Birth', 'group'=>'basic', 'description'=>'Basic View Birth Clan']);
        Permission::create(['name' => 'Basic View Birth Occupation', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Birth', 'group'=>'basic', 'description'=>'Basic View Birth Occupation']);
        Permission::create(['name' => 'Basic View Birth Ethic group', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Birth', 'group'=>'basic', 'description'=>'Basic View Birth Ethic group']);
        Permission::create(['name' => 'Basic View Birth Family relations', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Birth', 'group'=>'basic', 'description'=>'Basic View Birth Family relations']);
        Permission::create(['name' => 'Basic View Birth Photo and Signature', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Birth', 'group'=>'basic', 'description'=>'Basic View Birth Photo and Signature']);
        Permission::create(['name' => 'Basic View Birth Documents', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Birth', 'group'=>'basic', 'description'=>'Basic View Birth Documents']);
        Permission::create(['name' => 'Basic View Birth History', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Birth', 'group'=>'basic', 'description'=>'Basic View Birth History']);

        // Advanced search
        Permission::create(['name' => 'Advanced Search', 'permission_type'=>'Contract', 'section'=>'page', 'group'=>'advance', 'description'=>'User can perform advance search option']);
        // [ID card data]
        Permission::create(['name' => 'Advance Search ID card', 'permission_type'=>'Contract', 'section'=>'document', 'group'=>'advance', 'description'=>'User can perform a advance search option using ID Card']);
        // input parameters
        Permission::create(['name' => 'Advance Search ID with Serial number', 'permission_type'=>'Contract', 'section'=>'input', 'document'=>'ID', 'group'=>'advance', 'description'=>'Advance Search using ID card Serial number']);
        Permission::create(['name' => 'Advance Search ID with ID number', 'permission_type'=>'Contract', 'section'=>'input', 'document'=>'ID', 'group'=>'advance', 'description'=>'Advance Search using ID card ID number']);
        Permission::create(['name' => 'Advance Search ID with Surname', 'permission_type'=>'Contract', 'section'=>'input', 'document'=>'ID', 'group'=>'advance', 'description'=>'Advance Search using ID card Surname']);
        Permission::create(['name' => 'Advance Search ID with First name', 'permission_type'=>'Contract', 'section'=>'input', 'document'=>'ID', 'group'=>'advance', 'description'=>'Advance Search using ID card First name']);
        Permission::create(['name' => 'Advance Search ID with Other name', 'permission_type'=>'Contract', 'section'=>'input', 'document'=>'ID', 'group'=>'advance', 'description'=>'Advance Search using ID card Other name']);
        Permission::create(['name' => 'Advance Search ID with PIN', 'permission_type'=>'Contract', 'section'=>'input', 'document'=>'ID', 'group'=>'advance', 'description'=>'Advance Search using ID card PIN']);
        Permission::create(['name' => 'Advance Search ID with Citizenship', 'permission_type'=>'Contract', 'section'=>'input', 'document'=>'ID', 'group'=>'advance', 'description'=>'Advance Search using ID card Citizenship']);
        Permission::create(['name' => 'Advance Search ID with Gender', 'permission_type'=>'Contract', 'section'=>'input', 'document'=>'ID', 'group'=>'advance', 'description'=>'Advance Search using ID card Gender']);
        Permission::create(['name' => 'Advance Search ID with Registration office', 'permission_type'=>'Contract', 'section'=>'input', 'document'=>'ID', 'group'=>'advance', 'description'=>'Advance Search using ID card Registration office']);
        Permission::create(['name' => 'Advance Search ID with Date of Issue', 'permission_type'=>'Contract', 'section'=>'input', 'document'=>'ID', 'group'=>'advance', 'description'=>'Advance Search using ID card Date of Issue']);
        // [Advanced ID Output]
        // output parameters
        Permission::create(['name' => 'Advance View ID Details', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'ID', 'group'=>'advance', 'description'=>'Advance View ID card details']);
        Permission::create(['name' => 'Advance View ID Place of Residence', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'ID', 'group'=>'advance', 'description'=>'Advance View ID card Place of Residence']);
        Permission::create(['name' => 'Advance View ID Family', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'ID', 'group'=>'advance', 'description'=>'Advance View ID card Family']);
        Permission::create(['name' => 'Advance View ID Clan', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'ID', 'group'=>'advance', 'description'=>'Advance View ID card Clan']);
        Permission::create(['name' => 'Advance View ID Occupation', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'ID', 'group'=>'advance', 'description'=>'Advance View ID card Occupation']);
        Permission::create(['name' => 'Advance View ID Ethic group', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'ID', 'group'=>'advance', 'description'=>'Advance View ID card Ethic group']);
        Permission::create(['name' => 'Advance View ID Family relations', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'ID', 'group'=>'advance', 'description'=>'Advance View ID card Family relations']);
        Permission::create(['name' => 'Advance View ID Photo and Signature', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'ID', 'group'=>'advance', 'description'=>'Advance View ID card Photo and Signature']);
        Permission::create(['name' => 'Advance View ID Documents', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'ID', 'group'=>'advance', 'description'=>'Advance View ID card Documents']);
        Permission::create(['name' => 'Advance View ID History', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'ID', 'group'=>'advance', 'description'=>'Advance View ID card History']);

        // [Passport card data]
        Permission::create(['name' => 'Advance Search Passport card', 'permission_type'=>'Contract', 'section'=>'document', 'group'=>'advance', 'description'=>'User can perform an advance search option using Passport Card']);
        // input parameters
        Permission::create(['name' => 'Advance Search Passport with Passport number', 'permission_type'=>'Contract', 'section'=>'input', 'document'=>'Passport', 'group'=>'advance', 'description'=>'Advance Search using Passport card Passport number']);
        Permission::create(['name' => 'Advance Search Passport with ID number', 'permission_type'=>'Contract', 'section'=>'input', 'document'=>'Passport', 'group'=>'advance', 'description'=>'Advance Search using Passport card ID number']);
        Permission::create(['name' => 'Advance Search Passport with Date of Issue', 'permission_type'=>'Contract', 'section'=>'input', 'document'=>'Passport', 'group'=>'advance', 'description'=>'Advance Search using Passport card Date of Issue']);
        Permission::create(['name' => 'Advance Search Passport with Date of Expiry', 'permission_type'=>'Contract', 'section'=>'input', 'document'=>'Passport', 'group'=>'advance', 'description'=>'Advance Search using Passport card Date of Expiry']);
        // [Advanced ID Output]
        // output parameters
        Permission::create(['name' => 'Advance View Passport Details', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Passport', 'group'=>'advance', 'description'=>'Advance View Passport details']);
        Permission::create(['name' => 'Advance View Passport Place of Residence', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Passport', 'group'=>'advance', 'description'=>'Advance View Passport Place of Residence']);
        Permission::create(['name' => 'Advance View Passport Family', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Passport', 'group'=>'advance', 'description'=>'Advance View Passport Family']);
        Permission::create(['name' => 'Advance View Passport Clan', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Passport', 'group'=>'advance', 'description'=>'Advance View Passport Clan']);
        Permission::create(['name' => 'Advance View Passport Occupation', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Passport', 'group'=>'advance', 'description'=>'Advance View Passport Occupation']);
        Permission::create(['name' => 'Advance View Passport Ethic group', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Passport', 'group'=>'advance', 'description'=>'Advance View Passport Ethic group']);
        Permission::create(['name' => 'Advance View Passport Family relations', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Passport', 'group'=>'advance', 'description'=>'Advance View Passport Family relations']);
        Permission::create(['name' => 'Advance View Passport Photo and Signature', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Passport', 'group'=>'advance', 'description'=>'Advance View Passport Photo and Signature']);
        Permission::create(['name' => 'Advance View Passport Documents', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Passport', 'group'=>'advance', 'description'=>'Advance View Passport Documents']);
        Permission::create(['name' => 'Advance View Passport History', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Passport', 'group'=>'advance', 'description'=>'Advance View Passport History']);

        // [Birth Certificate data]
        Permission::create(['name' => 'Advance Search Birth Certificate', 'permission_type'=>'Contract', 'section'=>'document', 'group'=>'advance', 'description'=>'User can perform advance search option using Birth Certificate']);
        // input parameters
        Permission::create(['name' => 'Advance Search Birth with Entry number', 'permission_type'=>'Contract', 'section'=>'input', 'document'=>'Birth', 'group'=>'advance', 'description'=>'Advance Search using Birth Entry number']);
        Permission::create(['name' => 'Advance Search Birth with ID number', 'permission_type'=>'Contract', 'section'=>'input', 'document'=>'Birth', 'group'=>'advance', 'description'=>'Advance Search using Birth ID number']);
        Permission::create(['name' => 'Advance Search Birth with Date of Issue', 'permission_type'=>'Contract', 'section'=>'input', 'document'=>'Birth', 'group'=>'advance', 'description'=>'Advance Search using Birth Date of Issue']);
        // [Advanced ID Output]
        // output parameters
        Permission::create(['name' => 'Advance View Birth Details', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Birth', 'group'=>'advance', 'description'=>'Advance View Birth details']);
        Permission::create(['name' => 'Advance View Birth Mother ID number', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Birth', 'group'=>'advance', 'description'=>'Advance View Birth Mother ID number']);
        Permission::create(['name' => 'Advance View Birth Father ID number', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Birth', 'group'=>'advance', 'description'=>'Advance View Birth Father ID number']);
        Permission::create(['name' => 'Advance View Birth Place of Residence', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Birth', 'group'=>'advance', 'description'=>'Advance View Birth Place of Residence']);
        Permission::create(['name' => 'Advance View Birth Family', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Birth', 'group'=>'advance', 'description'=>'Advance View Birth Family']);
        Permission::create(['name' => 'Advance View Birth Clan', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Birth', 'group'=>'advance', 'description'=>'Advance View Birth Clan']);
        Permission::create(['name' => 'Advance View Birth Occupation', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Birth', 'group'=>'advance', 'description'=>'Advance View Birth Occupation']);
        Permission::create(['name' => 'Advance View Birth Ethic group', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Birth', 'group'=>'advance', 'description'=>'Advance View Birth Ethic group']);
        Permission::create(['name' => 'Advance View Birth Family relations', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Birth', 'group'=>'advance', 'description'=>'Advance View Birth Family relations']);
        Permission::create(['name' => 'Advance View Birth Photo and Signature', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Birth', 'group'=>'advance', 'description'=>'Advance View Birth Photo and Signature']);
        Permission::create(['name' => 'Advance View Birth Documents', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Birth', 'group'=>'advance', 'description'=>'Advance View Birth Documents']);
        Permission::create(['name' => 'Advance View Birth History', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Birth', 'group'=>'advance', 'description'=>'Advance View Birth History']);

        // [Refugees and aliens cards data]
        Permission::create(['name' => 'Advance Search Refugees and Alien card', 'permission_type'=>'Contract', 'section'=>'document', 'group'=>'advance', 'description'=>'User can perform advance search option using Refugees and Alien card']);
        // input parameters
        Permission::create(['name' => 'Advance Search Refugee with Document number', 'permission_type'=>'Contract', 'section'=>'input', 'document'=>'Refugee', 'group'=>'advance', 'description'=>'Advance Search using Refugee Document number']);
        Permission::create(['name' => 'Advance Search Refugee with ID number', 'permission_type'=>'Contract', 'section'=>'input', 'document'=>'Refugee', 'group'=>'advance', 'description'=>'Advance Search using Refugee ID number']);
        Permission::create(['name' => 'Advance Search Refugee with Date of Issue', 'permission_type'=>'Contract', 'section'=>'input', 'document'=>'Refugee', 'group'=>'advance', 'description'=>'Advance Search using Refugee Date of Issue']);
        Permission::create(['name' => 'Advance Search Refugee with Date of Expiry', 'permission_type'=>'Contract', 'section'=>'input', 'document'=>'Refugee', 'group'=>'advance', 'description'=>'Advance Search using Refugee Date of Expiry']);
        // [Advanced ID Output]
        // output parameters
        Permission::create(['name' => 'Advance View Refugee Details', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Refugee', 'group'=>'advance', 'description'=>'Advance View Refugee details']);
        Permission::create(['name' => 'Advance View Refugee Place of Residence', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Refugee', 'group'=>'advance', 'description'=>'Advance View Refugee Place of Residence']);
        Permission::create(['name' => 'Advance View Refugee Family', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Refugee', 'group'=>'advance', 'description'=>'Advance View Refugee Family']);
        Permission::create(['name' => 'Advance View Refugee Clan', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Refugee', 'group'=>'advance', 'description'=>'Advance View Refugee Clan']);
        Permission::create(['name' => 'Advance View Refugee Occupation', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Refugee', 'group'=>'advance', 'description'=>'Advance View Refugee Occupation']);
        Permission::create(['name' => 'Advance View Refugee Ethic group', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Refugee', 'group'=>'advance', 'description'=>'Advance View Refugee Ethic group']);
        Permission::create(['name' => 'Advance View Refugee Family relations', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Refugee', 'group'=>'advance', 'description'=>'Advance View Refugee Family relations']);
        Permission::create(['name' => 'Advance View Refugee Photo and Signature', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Refugee', 'group'=>'advance', 'description'=>'Advance View Refugee Photo and Signature']);
        Permission::create(['name' => 'Advance View Refugee Documents', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Refugee', 'group'=>'advance', 'description'=>'Advance View Refugee Documents']);
        Permission::create(['name' => 'Advance View Refugee History', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Refugee', 'group'=>'advance', 'description'=>'Advance View Refugee History']);

        // [Death certificate data]
        Permission::create(['name' => 'Advance Search Death certificate', 'permission_type'=>'Contract', 'section'=>'document', 'group'=>'advance', 'description'=>'User can perform advance search option using Death certificate']);
        // input parameters
        Permission::create(['name' => 'Advance Search Death with Entry number', 'permission_type'=>'Contract', 'section'=>'input', 'document'=>'Death', 'group'=>'advance', 'description'=>'Advance Search using Death Entry number']);
        Permission::create(['name' => 'Advance Search Death with Date of Issue', 'permission_type'=>'Contract', 'section'=>'input', 'document'=>'Death', 'group'=>'advance', 'description'=>'Advance Search using Death Date of Issue']);
        // [Advanced ID Output]
        // output parameters
        Permission::create(['name' => 'Advance View Death Details', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Death', 'group'=>'advance', 'description'=>'Advance View Death details']);
        Permission::create(['name' => 'Advance View Death Place of Residence', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Death', 'group'=>'advance', 'description'=>'Advance View Death Place of Residence']);
        Permission::create(['name' => 'Advance View Death Family', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Death', 'group'=>'advance', 'description'=>'Advance View Death Family']);
        Permission::create(['name' => 'Advance View Death Clan', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Death', 'group'=>'advance', 'description'=>'Advance View Death Clan']);
        Permission::create(['name' => 'Advance View Death Occupation', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Death', 'group'=>'advance', 'description'=>'Advance View Death Occupation']);
        Permission::create(['name' => 'Advance View Death Ethic group', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Death', 'group'=>'advance', 'description'=>'Advance View Death Ethic group']);
        Permission::create(['name' => 'Advance View Death Family relations', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Death', 'group'=>'advance', 'description'=>'Advance View Death Family relations']);
        Permission::create(['name' => 'Advance View Death Photo and Signature', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Death', 'group'=>'advance', 'description'=>'Advance View Death Photo and Signature']);
        Permission::create(['name' => 'Advance View Death Documents', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Death', 'group'=>'advance', 'description'=>'Advance View Death Documents']);
        Permission::create(['name' => 'Advance View Death History', 'permission_type'=>'Contract', 'section'=>'output', 'document'=>'Death', 'group'=>'advance', 'description'=>'Advance View Death History']);
    }
}
