init backend presensi

This commit is contained in:
mwpn
2026-03-05 14:37:36 +07:00
commit b4fda6b9c9
319 changed files with 27261 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
<?php
namespace App\Modules\Academic\Models;
use CodeIgniter\Model;
/**
* Dapodik sync job tracker for progress reporting.
*/
class DapodikSyncJobModel extends Model
{
protected $table = 'dapodik_sync_jobs';
protected $primaryKey = 'id';
protected $useAutoIncrement = true;
protected $returnType = 'array';
protected $useTimestamps = true;
protected $createdField = 'created_at';
protected $updatedField = 'updated_at';
protected $allowedFields = [
'type',
'total_rows',
'processed_rows',
'status',
'message',
'started_at',
'finished_at',
];
public const STATUS_PENDING = 'pending';
public const STATUS_RUNNING = 'running';
public const STATUS_COMPLETED = 'completed';
public const STATUS_FAILED = 'failed';
public const TYPE_STUDENTS = 'students';
public const TYPE_CLASSES = 'classes';
}