authentication via username or phones
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
namespace App\Modules\SberPaymentOrder\Models;
|
||||
|
||||
use App\Models\Branch\Branch;
|
||||
use App\Repos\Order\Loan\LoanOrderRepo;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
||||
use Spatie\MediaLibrary\HasMedia;
|
||||
@@ -138,4 +139,14 @@ class SberPaymentOrder extends Model implements HasMedia
|
||||
],
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
* "boot" method for model
|
||||
*/
|
||||
protected static function boot(): void
|
||||
{
|
||||
parent::boot();
|
||||
|
||||
static::creating(LoanOrderRepo::creating());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user