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

namespace App\Models;
use CodeIgniter\Model;

class CoursesModel extends Model
{
    protected $table = 'courses';
    protected $primaryKey = 'id';

    protected $allowedFields = [
        'id', 'name', 'description', 'created_at', 'created_by','row_status'
    ];

}

?>