<?php
// app/Models/DepartmentModel.php

namespace App\Models;
use CodeIgniter\Model;

class DepartmentModel extends Model
{
    protected $table = 'department';
    protected $primaryKey = 'id';

    protected $allowedFields = [
        'department_name', 'department_info', 'department_mobile', 'department_email', 'hod_name', 'hod_designation', 'hod_photo', 'department_vision','courses','infrastructure','equipment','library_resources', 'created_by', 'row_status'
    ];
}

?>