mirror of
https://github.com/Bigherollc/wticreatorstudio.git
synced 2026-07-31 05:16:49 -04:00
25 lines
477 B
PHP
25 lines
477 B
PHP
<?php
|
|
|
|
namespace Modules\Wallet\Entities;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use App\Models\User;
|
|
|
|
class BankPayment extends Model
|
|
{
|
|
use HasFactory;
|
|
protected $table = 'bank_details';
|
|
protected $guarded = ['id'];
|
|
|
|
public function wallets()
|
|
{
|
|
return $this->morphMany(WalletBalance::class, 'walletable');
|
|
}
|
|
|
|
public function itemable()
|
|
{
|
|
return $this->morphTo();
|
|
}
|
|
}
|