init backend presensi
This commit is contained in:
24
app/Modules/Academic/Entities/LessonSlot.php
Normal file
24
app/Modules/Academic/Entities/LessonSlot.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
namespace App\Modules\Academic\Entities;
|
||||
|
||||
use CodeIgniter\Entity\Entity;
|
||||
|
||||
/**
|
||||
* Lesson Slot Entity
|
||||
*/
|
||||
class LessonSlot extends Entity
|
||||
{
|
||||
protected $allowedFields = [
|
||||
'slot_number',
|
||||
'start_time',
|
||||
'end_time',
|
||||
'is_active',
|
||||
];
|
||||
|
||||
protected $casts = [
|
||||
'id' => 'integer',
|
||||
'slot_number' => 'integer',
|
||||
'is_active' => 'boolean',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user