recreate project
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use CodeIgniter\Model;
|
||||
|
||||
class FlagModel extends Model
|
||||
{
|
||||
protected $table = 'flag';
|
||||
protected $primaryKey = 'id';
|
||||
protected $allowedFields = [
|
||||
'student_id',
|
||||
'student_name',
|
||||
'grade',
|
||||
'flag',
|
||||
'flag_datetime',
|
||||
'flag_state',
|
||||
'updated_by_open',
|
||||
'open_description',
|
||||
'updated_by_closed',
|
||||
'close_description',
|
||||
'action_taken',
|
||||
'updated_by_canceled',
|
||||
'cancel_description',
|
||||
'semester',
|
||||
'school_year',
|
||||
'created_at',
|
||||
'updated_at'
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user