<?php
// app/Models/PasswordResetModel.php

namespace App\Models;

use CodeIgniter\Model;

class PasswordResetModel extends Model
{
    protected $table      = 'password_resets';
    protected $primaryKey = 'id';
    protected $allowedFields = [
        'email', 
        'token',
        'created_at',
        'expires_at'
    ];
    
    protected $useTimestamps = true;
    protected $createdField = 'created_at';
    protected $updatedField = 'expires_at';
}