<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;

class SegmentConstantsTableDevelopmentSeeder extends Seeder
{

    /**
     * Auto generated seed file
     *
     * @return void
     */
    public function run()
    {

        \DB::table('segment_constants')->insert(array (
            1 => 
            array (
                'id' => 5,
                'segment_id' => 1,
                'name' => 'Payment Attempt Duration Limit',
                'reference' => 'PAYMENT_ATTEMPT_DURATION_LIMIT',
                'detail' => '{"minutes":750}',
                'deleted_at' => NULL,
                'created_at' => '2021-03-09 07:51:13',
                'updated_at' => '2021-03-11 06:33:08',
            ),
            2 => 
            array (
                'id' => 6,
                'segment_id' => 1,
                'name' => 'Service Type',
                'reference' => 'SERVICE_TYPE',
                'detail' => '{"id":1,"bank_id":1,"service_charge":{"type":"percentage","value":2},"minimum_charge":{"type":"fixed_amount","value":10},"tax":{"type":"percentage","value":0},"po_limit":{"type":"fixed_amount","value":3},"is_active":true,"is_billable":true,"currencies":[{"id":2,"max_limit":{"type":"fixed_amount","value":500000},"min_limit":{"type":"fixed_amount","value":100},"rates":[]}]}',
                'deleted_at' => NULL,
                'created_at' => '2021-03-09 07:52:57',
                'updated_at' => '2021-03-09 07:53:04',
            ),
            3 => 
            array (
                'id' => 17,
                'segment_id' => 1,
                'name' => 'Supplier\'s Currencies',
                'reference' => 'SUPPLIER_CURRENCIES',
                'detail' => '{"id":"5","currencies":[3,2]}',
                'deleted_at' => NULL,
                'created_at' => '2021-03-09 08:14:41',
                'updated_at' => '2021-03-09 08:14:41',
            ),
            6 =>
            array (
                'id' => 22,
                'segment_id' => 5,
                'name' => 'Custom Service Type',
                'reference' => 'CUSTOM_SERVICE_TYPE',
                'detail' => '{"id":1,"service_charge":{"type":"percentage","value":1},"is_active":true,"is_billable":true,"currencies":[]}',
                'deleted_at' => NULL,
                'created_at' => '2021-03-09 09:53:52',
                'updated_at' => '2021-03-09 10:53:09',
            )
        ));
        
        
    }
}