[WIP] Claims
This commit is contained in:
24
app/Models/LimitJournal.php
Normal file
24
app/Models/LimitJournal.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class LimitJournal extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
protected $fillable = [
|
||||
'journalable',
|
||||
'mutation',
|
||||
'type',
|
||||
'balance',
|
||||
'description',
|
||||
];
|
||||
|
||||
public function journalable()
|
||||
{
|
||||
return $this->morphTo();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user