<?php

namespace App\Models;

use CodeIgniter\Model;

class PaypalTransactionModel extends Model
{
    protected $table      = 'paypal_transactions';
    protected $primaryKey = 'id';

    protected $allowedFields = [
        'transaction_id',
        'payment_id',
        'firstname',
        'lastname',
        'event_type',
        'payer_email',
        'amount',
        'currency',
        'status',
        'payment_method',
        'transaction_fee',
        'semester',
        'school_year',
        'raw_data'
    ];

    protected $useTimestamps = true;
}