<?php

namespace App\Models;

use CodeIgniter\Model;

class SupportRequestModel extends Model
{
    protected $table            = 'support_requests';
    protected $primaryKey       = 'id';
    protected $useAutoIncrement = true;
    protected $returnType       = 'array';
    protected $useSoftDeletes   = false;
    protected $protectFields    = true;
    protected $allowedFields    = [
        'user_id',
        'profile_name',
        'email',
        'phone',
        'support_category_id',
        'message',
        'status',
    ];
    protected $useTimestamps = true;
    protected $dateFormat    = 'datetime';
    protected $createdField  = 'created_at';
    protected $updatedField  = 'updated_at';
}
