<?php

namespace App\Models;

use CodeIgniter\Model;

class BeritaModel extends Model
{
    protected $table      = 'artikel';
    protected $primaryKey = 'id';

    protected $allowedFields = [
        'judul',
        'isi',
        'foto_artikel',
        'created_at',
        'updated_at'
    ];
}
