first commit

This commit is contained in:
Sampanna Rimal
2024-08-27 17:48:06 +05:45
commit 53c0140f58
10839 changed files with 1125847 additions and 0 deletions

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

@@ -0,0 +1,29 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Document extends Model
{
use HasFactory;
protected $table = "tbl_documents";
protected $primaryKey = "document_id";
protected $fillable = [
'document_name',
'document_path',
'document_for_ref',
'description',
'status',
'description',
'remarks'
];
public function documentable()
{
return $this->morphTo();
}
}