add open position system
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
<?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',
|
||||
'requirements',
|
||||
'version',
|
||||
'is_active',
|
||||
'created_by',
|
||||
'created_at',
|
||||
'updated_at',
|
||||
];
|
||||
protected $useTimestamps = true;
|
||||
protected $createdField = 'created_at';
|
||||
protected $updatedField = 'updated_at';
|
||||
}
|
||||
Reference in New Issue
Block a user