<?php

namespace App\Models;

use CodeIgniter\Model;

class DashboardSummaryModel extends Model
{
    // Sesuaikan dengan nama tabel di database Anda
    protected $table      = 'dashboard_summary'; 
    protected $primaryKey = 'id';

    protected $allowedFields = [
        'total_sales', 
        'total_orders', 
        'updated_at'
    ];

    protected $useTimestamps = true;
}