Files
tbbank-new/database/seeders/FillJsonData.php
Mekan1206 2ec9b28a60 Refactor VisaMasterPaymentOrder components and enhance seeding process
- Updated record title attribute in VisaMasterPaymentOrderResource to 'unique_id'.
- Improved schema layout in VisaMasterPaymentOrderForm and VisaMasterPaymentOrderInfolist for better user experience.
- Added 'unique_id' field to VisaMasterPaymentOrderInfolist with styling adjustments.
- Implemented BelongsToBranch interface in VisaMasterPaymentOrder model and added a boot method for loan order creation.
- Expanded FillJsonData seeder to include migration for VisaMasterPaymentOrders.
2025-12-21 02:58:15 +05:00

72 lines
1.5 KiB
PHP

<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
class FillJsonData extends Seeder
{
/**
* Run the database seeds.
*/
public function run(): void
{
$this->seedVisaMasterPaymentOrders();
}
protected function seedUsers(): void
{
(new Migrators\UsersMigrator)->migrate();
}
protected function seedLoanTypes(): void
{
(new Migrators\LoanTypesMigrator)->migrate();
}
protected function seedProvinces(): void
{
(new Migrators\ProvincesMigrator)->migrate();
}
protected function seedBranches(): void
{
(new Migrators\BranchesMigrator)->migrate();
}
protected function loanOrderRequiredDocs(): void
{
(new Migrators\LoanOrderRequiredDocsMigrator)->migrate();
}
protected function seedLoanOrders(): void
{
(new Migrators\LoanOrdersMigrator)->migrate();
}
protected function seedCardStates(): void
{
(new Migrators\CardStatesMigrator)->migrate();
}
protected function seedCardTypes(): void
{
(new Migrators\CardTypesMigrator)->migrate();
}
protected function cardOrders(): void
{
(new Migrators\CardOrdersMigrator)->migrate();
}
protected function cardPinOrders(): void
{
(new Migrators\CardPinOrdersMigrator)->migrate();
}
protected function seedVisaMasterPaymentOrders(): void
{
(new Migrators\VisaMasterPaymentOrdersMigrator)->migrate();
}
}