recreate project
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use CodeIgniter\Model;
|
||||
|
||||
class ClassProgressReportModel extends Model
|
||||
{
|
||||
protected $table = 'class_progress_reports';
|
||||
protected $primaryKey = 'id';
|
||||
protected $returnType = 'array';
|
||||
protected $allowedFields = [
|
||||
'class_section_id',
|
||||
'teacher_id',
|
||||
'week_start',
|
||||
'week_end',
|
||||
'subject',
|
||||
'unit_title',
|
||||
'covered',
|
||||
'homework',
|
||||
'assessment',
|
||||
'status',
|
||||
'status_notes',
|
||||
'class_notes',
|
||||
'next_week_plan',
|
||||
'support_needed',
|
||||
'flags_json',
|
||||
'attachment_path',
|
||||
];
|
||||
protected $useTimestamps = true;
|
||||
protected $createdField = 'created_at';
|
||||
protected $updatedField = 'updated_at';
|
||||
}
|
||||
Reference in New Issue
Block a user