<?php namespace App\Models;

use CodeIgniter\Model;

class TransactionsExtraModel extends Model
{
    protected $table         = 'transactions_extra';
    protected $primaryKey    = 'id';
    protected $allowedFields = [
        'uid',
        'amount',
        'created_at',
        'updated_at',
        'status',
        'method_id',
        'subscribe_extra_external_id',
        'external_extra_uid'
    ];
    protected $returnType    = 'array';
    protected $useTimestamps = true;
    protected $dateFormat    = 'int';
    protected $createdField  = 'created_at';
    protected $updatedField  = 'updated_at';
}