add projet
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use App\Models\BaseModel;
|
||||
|
||||
|
||||
class PayPalPayment extends BaseModel
|
||||
{
|
||||
protected $table = 'paypal_payments';
|
||||
protected $primaryKey = 'id';
|
||||
protected $fillable = [
|
||||
'webhook_id',
|
||||
'parent_school_id',
|
||||
'order_id',
|
||||
'transaction_id',
|
||||
'status',
|
||||
'amount',
|
||||
'currency',
|
||||
'paypal_fee',
|
||||
'net_amount',
|
||||
'payer_email',
|
||||
'merchant_id',
|
||||
'event_type',
|
||||
'summary',
|
||||
'raw_payload',
|
||||
'synced',
|
||||
'sync_attempts',
|
||||
'created_at',
|
||||
];
|
||||
|
||||
// Enable timestamps
|
||||
public $timestamps = false;
|
||||
const CREATED_AT = 'created_at';
|
||||
const UPDATED_AT = ''; // not used; leave empty if not needed
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user