recreate project
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use CodeIgniter\Model;
|
||||
|
||||
class ClassProgressAttachmentModel extends Model
|
||||
{
|
||||
protected $table = 'class_progress_attachments';
|
||||
protected $primaryKey = 'id';
|
||||
protected $returnType = 'array';
|
||||
protected $allowedFields = [
|
||||
'report_id',
|
||||
'file_path',
|
||||
'original_name',
|
||||
'mime_type',
|
||||
'file_size',
|
||||
'created_at',
|
||||
];
|
||||
protected $useTimestamps = false;
|
||||
}
|
||||
Reference in New Issue
Block a user