Files
alrahma_sunday_school_api/app/Models/PayPalPayment.php
T
2026-03-05 12:29:37 -05:00

38 lines
744 B
PHP

<?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
}