<?php

namespace App\Models;

use CodeIgniter\Model;

class DailyActivityModel extends Model
{
    protected $table      = 'daily_activities';
    protected $primaryKey = 'id';

    protected $useAutoIncrement = true;
    protected $allowedFields = ['tanggal', 'jam', 'nama_aktivitas', 'foto', 'video'];
    protected $useTimestamps = true;
    protected $createdField  = 'created_at';
    protected $updatedField  = 'updated_at';
}







