This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
<?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',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user