<?php

namespace App\Models;

use CodeIgniter\Model;

class BlockchainLedgerModel extends Model
{
    use \App\Models\Traits\Auditable;

    protected $table         = 'blockchain_ledger';
    protected $primaryKey    = 'bl_idx';
    protected $returnType    = 'object';
    protected $useTimestamps = false;
    protected $allowedFields = [
        'bl_created_at',
        'bl_tx_type',
        'bl_entity_uuid',
        'bl_entity_version',
        'bl_payload',
        'bl_previous_hash',
        'bl_hash',
        'bl_nonce',
        'bl_actor_idx',
        'bl_lg_idx',
    ];
}
