chore: initial commit of existing codebase

This commit is contained in:
ghassan committed 2026-05-19 12:40:08 +03:00
commit 11e94889b2
292 files changed
+38586

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class PurchaseSignature extends Model
{
protected $fillable = [
'purchase_request_id', 'signed_by', 'signature_image', 'signed_at', 'ip_address',
];
protected $casts = ['signed_at' => 'datetime'];
public function purchaseRequest()
{
return $this->belongsTo(PurchaseRequest::class);
}
public function signedBy()
{
return $this->belongsTo(User::class, 'signed_by');
}
}