Files
boursecu_server/app/Models/PargarSyncLog.php
T

37 lines
674 B
PHP
Raw Normal View History

2026-07-05 16:43:34 +03:30
<?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);
}
}