• File: ImaliAccountConfigsTableSeeder.php
  • Full Path: /var/www/imaliapitest/database/seeds/ImaliAccountConfigsTableSeeder.php
  • Date Modified: 05/19/2025 4:29 PM
  • File size: 1.65 KB
  • MIME-type: text/x-php
  • Charset: utf-8
<?php

use Illuminate\Database\Seeder;

class ImaliAccountConfigsTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        DB::table('imali_account_configs')->insert([
            '0' => [
                'level' => 'I',
                'taxa' => 5,
                'nr_transaction' => 3,
                'point_value' => 100,
                'max_balance' => 10000,
                'min_value_operation' => 10,
                'max_value_operation' => 1000,
                'max_value_year' => 50000,
                'taxa_refund_mechant' => 1,
                'created_at' => now(),
                'updated_at' => now()
            ],
            '1' => [
                'level' => 'II',
                'taxa' => 5,
                'nr_transaction' => 5,
                'point_value' => 100,
                'max_balance' => 15000,
                'min_value_operation' => 10,
                'max_value_operation' => 2000,
                'max_value_year' => 80000,
                'taxa_refund_mechant' => 1,
                'created_at' => now(),
                'updated_at' => now()
            ],
            '2' => [
                'level' => 'III',
                'taxa' => 5,
                'nr_transaction' => 10,
                'point_value' => 100,
                'max_balance' => 25000,
                'min_value_operation' => 10,
                'max_value_operation' => 5000,
                'max_value_year' => 50000,
                'taxa_refund_mechant' => 1,
                'created_at' => now(),
                'updated_at' => now()
            ]
        ]);
    }
}