Update dependencies and configuration for Laravel project; added Filament support, modified .gitignore, and adjusted welcome page links.
This commit is contained in:
17
app/Models/Document.php
Normal file
17
app/Models/Document.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
||||
|
||||
class Document extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
public function pilgrim(): BelongsTo
|
||||
{
|
||||
return $this->belongsTo(Pilgrim::class);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user