added pargar
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user