added pargar

This commit is contained in:
2026-07-05 16:43:34 +03:30
parent 694fddc909
commit 7ac7bbdb90
27 changed files with 1341 additions and 493 deletions
+36
View File
@@ -0,0 +1,36 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
class PargarSyncLog extends Model
{
protected $table = 'pargar_sync_logs';
protected $fillable = [
'customer_id',
'amount',
'desc',
'order_id',
'withdraw_id',
'date',
'type',
'sync_status',
'sync_log',
'pargar_ref',
'res',
'data',
];
public function customer(): BelongsTo
{
return $this->belongsTo(Customer::class);
}
public function order(): BelongsTo
{
return $this->belongsTo(Order::class);
}
}