feat(wallets): implement wallet and transaction management with associated models, policies, and resources

This commit is contained in:
2026-06-07 00:18:32 +03:30
parent c2319a55cb
commit d1d42b38d1
23 changed files with 790 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
<?php
namespace App\Enums;
enum WalletTransactionType: string
{
case Credit = 'credit';
case Debit = 'debit';
public function label(): string
{
return match ($this) {
self::Credit => 'واریز',
self::Debit => 'برداشت',
};
}
}