Files
exchange-2.0/database/seeds/SegmentConstantsTableDevelopmentSeeder.php
T

133 lines
6.6 KiB
PHP

<?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":[]},{"id":3,"max_limit":{"type":"fixed_amount","value":10000},"min_limit":{"type":"fixed_amount","value":20},"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',
),
4 =>
array (
'id' => 18,
'segment_id' => 1,
'name' => 'Service Type',
'reference' => 'SERVICE_TYPE',
'detail' => '{"id":2,"bank_id":1,"service_charge":{"type":"percentage","value":1},"minimum_charge":{"type":"fixed_amount","value":20},"tax":{"type":"percentage","value":0},"po_limit":{"type":"fixed_amount","value":1},"is_active":true,"is_billable":true,"currencies":[]}',
'deleted_at' => NULL,
'created_at' => '2021-03-09 09:35:55',
'updated_at' => '2021-03-09 09:40:27',
),
5 =>
array (
'id' => 19,
'segment_id' => 1,
'name' => 'Service Type',
'reference' => 'SERVICE_TYPE',
'detail' => '{"id":3,"bank_id":11,"service_charge":{"type":"percentage","value":1},"minimum_charge":{"type":"fixed_amount","value":20},"tax":{"type":"percentage","value":0},"po_limit":{"type":"fixed_amount","value":1},"is_active":true,"is_billable":true,"currencies":[{"id":2,"max_limit":{"type":"fixed_amount","value":0},"min_limit":{"type":"fixed_amount","value":0},"rates":[]}]}',
'deleted_at' => NULL,
'created_at' => '2021-03-09 09:36:26',
'updated_at' => '2021-03-09 09:36:57',
),
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',
),
7 =>
array (
'id' => 23,
'segment_id' => 1,
'name' => 'Service Type',
'reference' => 'SERVICE_TYPE',
'detail' => '{"id":4,"bank_id":1,"service_charge":{"type":"percentage","value":3.5},"minimum_charge":{"type":"fixed_amount","value":100},"tax":{"type":"percentage","value":0},"po_limit":{"type":"fixed_amount","value":1},"is_active":true,"is_billable":true,"currencies":[{"id":2,"max_limit":{"type":"fixed_amount","value":500000},"min_limit":{"type":"fixed_amount","value":0.01},"rates":[]},{"id":3,"max_limit":{"type":"fixed_amount","value":0},"min_limit":{"type":"fixed_amount","value":1000},"rates":[]}]}',
'deleted_at' => NULL,
'created_at' => '2021-03-09 10:09:11',
'updated_at' => '2021-03-09 10:51:48',
),
8 =>
array (
'id' => 24,
'segment_id' => 5,
'name' => 'Custom Service Type',
'reference' => 'CUSTOM_SERVICE_TYPE',
'detail' => '{"id":4,"service_charge":{"type":"percentage","value":3.5},"is_active":true,"is_billable":true,"currencies":[{"id":2,"max_limit":{"type":"fixed_amount","value":500000},"min_limit":{"type":"fixed_amount","value":0.01},"rates":[]},{"id":3,"max_limit":{"type":"fixed_amount","value":200000},"min_limit":{"type":"fixed_amount","value":0.01},"rates":[]}]}',
'deleted_at' => NULL,
'created_at' => '2021-03-09 10:17:30',
'updated_at' => '2021-03-09 10:31:04',
),
9 =>
array (
'id' => 25,
'segment_id' => 1,
'name' => 'Service Type',
'reference' => 'SERVICE_TYPE',
'detail' => '{"id":5,"bank_id":11,"service_charge":{"type":"percentage","value":3},"minimum_charge":{"type":"fixed_amount","value":100},"tax":{"type":"percentage","value":12},"po_limit":{"type":"fixed_amount","value":1},"is_active":true,"is_billable":true,"currencies":[{"id":2,"max_limit":{"type":"fixed_amount","value":10000},"min_limit":{"type":"fixed_amount","value":5000},"rates":[]}]}',
'deleted_at' => NULL,
'created_at' => '2021-03-11 06:34:23',
'updated_at' => '2021-03-11 06:34:36',
),
10 =>
array (
'id' => 42,
'segment_id' => 1,
'name' => 'Supplier\'s Currencies',
'reference' => 'SUPPLIER_CURRENCIES',
'detail' => '{"id":"12","currencies":[2]}',
'deleted_at' => NULL,
'created_at' => '2021-03-12 03:17:10',
'updated_at' => '2021-03-12 03:17:39',
),
));
}
}