Files
alrahma_sunday_school/app/Models/EnrollmentEmailRecordModel.php
root 1ef2800f12
Tests / PHPUnit (push) Successful in 1m26s
fix enrollment for the new school-year
2026-08-07 23:43:31 -04:00

33 lines
728 B
PHP

<?php
namespace App\Models;
use CodeIgniter\Model;
class EnrollmentEmailRecordModel extends Model
{
protected $table = 'enrollment_email_records';
protected $primaryKey = 'id';
protected $returnType = 'array';
protected $useTimestamps = true;
protected $allowedFields = [
'school_year',
'school_year_id',
'family_account_id',
'parent_user_id',
'recipient_addresses_json',
'template_version',
'generated_subject',
'generated_body',
'student_ids_included_json',
'generated_at',
'sent_at',
'delivery_status',
'failure_reason',
'retry_count',
'created_at',
'updated_at',
];
}