Added new models system/JobStatuses_model and system/JobTypes_model

This commit is contained in:
Paolo
2020-03-06 14:13:25 +01:00
parent 3bfe1cdeea
commit ba566ab459
2 changed files with 32 additions and 0 deletions
@@ -0,0 +1,16 @@
<?php
class JobStatuses_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'system.tbl_jobstatuses';
$this->pk = 'status';
$this->hasSequence = false;
}
}
@@ -0,0 +1,16 @@
<?php
class JobTypes_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'system.tbl_jobtypes';
$this->pk = 'type';
$this->hasSequence = false;
}
}