ein paar models und migrateions

This commit is contained in:
2026-02-08 14:06:08 +00:00
parent fca99107ae
commit fc6aee5760
6 changed files with 97 additions and 5 deletions

16
app/Models/Document.php Normal file
View File

@@ -0,0 +1,16 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Document extends Model
{
protected $fillable = ['name'];
public function documentable()
{
return $this->morphTo();
}
}