<?php

namespace App\Models;

use CodeIgniter\Model;

class SavingModel extends Model
{
    protected $table            = 'savings';
    protected $primaryKey       = 'id';
    protected $useAutoIncrement = true;
    protected $returnType       = 'array';
    protected $allowedFields    = ['member_id', 'type', 'amount', 'status', 'notes', 'created_at'];
    protected $useTimestamps    = false;
}
