main
This commit is contained in:
Executable
+22
@@ -0,0 +1,22 @@
|
||||
<?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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user