<?php

namespace App\Models;

use CodeIgniter\Model;

class InventoryMovementModel extends Model
{
    protected $table         = 'inventory_movements';
    protected $primaryKey    = 'id';
    protected $returnType    = 'array';
    protected $useTimestamps = true;

    protected $allowedFields = [
        'item_id','qty_change','movement_type','reason','note',
        'semester','school_year',
        'performed_by','teacher_id','student_id','class_section_id',
    ];
}
