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

namespace App\Models;
use CodeIgniter\Model;

class NewsModel extends Model
{
    protected $table = 'news';
    protected $primaryKey = 'id';

    protected $allowedFields = [
        'id', 'department_id', 'title', 'image', 'description', 'created_by', 'row_status'
    ];
}

?>