<?php

namespace App\Models;

use CodeIgniter\Model;

class PrayerResponseModel extends Model
{
    protected $table            = 'prayer_responses';
    protected $primaryKey       = 'id';
    protected $useAutoIncrement = true;
    protected $returnType       = 'array';
    protected $useSoftDeletes   = false;
    protected $useTimestamps    = true;
    protected $createdField     = 'created_at';
    protected $updatedField     = 'updated_at';

    protected $allowedFields = ['prayer_request_id', 'user_id', 'response'];
}
