<?php
namespace App\Models;
use CodeIgniter\Model;

class CommunicationLogModel extends Model {
    protected $table = 'communication_logs';
    protected $primaryKey = 'id';
    protected $allowedFields = [
        'student_id','family_id','student_name','template_key','subject','body',
        'recipients','cc','bcc','attachments','status','error_message','sent_by','metadata'
    ];
}