<?php

namespace App\Models;

use CodeIgniter\Model;

class FamilyMemberModel extends Model
{
    protected $table            = 'family_members';
    protected $primaryKey       = 'id';
    protected $useAutoIncrement = true;
    protected $returnType       = 'array';
    protected $useSoftDeletes   = false;
    protected $useTimestamps    = false;

    protected $allowedFields = [
        'family_unit_id', 'member_id', 'relationship', 'first_name', 'last_name',
        'date_of_birth', 'gender', 'is_registered_member',
    ];
}
