Files
alrahma_sunday_school/app/Models/JobTemplateModel.php
T
root 6936a822c8
Deploy to Shared Hosting / Shared hosting deploy (push) Failing after 49s
Tests / PHPUnit (push) Successful in 1m23s
reconstruct job admin side
2026-09-03 01:58:54 -04:00

32 lines
711 B
PHP

<?php
namespace App\Models;
use CodeIgniter\Model;
class JobTemplateModel extends Model
{
protected $table = 'job_templates';
protected $primaryKey = 'template_id';
protected $useAutoIncrement = false;
protected $returnType = 'array';
protected $allowedFields = [
'template_id',
'title',
'description',
'department',
'location',
'employment_type',
'responsibilities',
'requirements',
'version',
'is_active',
'created_by',
'created_at',
'updated_at',
];
protected $useTimestamps = true;
protected $createdField = 'created_at';
protected $updatedField = 'updated_at';
}