23 lines
456 B
PHP
Executable File
23 lines
456 B
PHP
Executable File
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Illuminate\Database\Eloquent\SoftDeletes;
|
|
use Rooyesh\Wallet\models\Wallet;
|
|
|
|
class Fund extends Model
|
|
{
|
|
use HasFactory,Selector,SoftDeletes;
|
|
protected $fillable =[
|
|
'title',
|
|
'file_id',
|
|
'customer_id',
|
|
];
|
|
public function wallet()
|
|
{
|
|
return $this->hasMany(Wallet::class);
|
|
}
|
|
}
|