[WIP] Claims

This commit is contained in:
R
2022-11-25 05:14:40 +07:00
parent d5b43d9896
commit b3eb9b5f9d
18 changed files with 1012 additions and 376 deletions

View 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();
}
}