- Rename all controllers from X.php to XController.php format - Add new RefTxtModel for text-based reference ranges - Rename group_dialog.php to grp_dialog.php and remove title_dialog.php - Add comprehensive test suite for v2/master/TestDef module - Update Routes.php to reflect controller renames - Remove obsolete data files (clqms_v2.sql, lab.dbml)
34 lines
606 B
PHP
34 lines
606 B
PHP
<?php
|
|
|
|
namespace App\Models\RefRange;
|
|
|
|
use App\Models\BaseModel;
|
|
|
|
class RefTxtModel extends BaseModel
|
|
{
|
|
protected $table = 'reftxt';
|
|
protected $primaryKey = 'RefTxtID';
|
|
protected $allowedFields = [
|
|
'SiteID',
|
|
'TestSiteID',
|
|
'SpcType',
|
|
'Sex',
|
|
'Criteria',
|
|
'AgeStart',
|
|
'AgeEnd',
|
|
'TxtRefType',
|
|
'RefTxt',
|
|
'Flag',
|
|
'Notes',
|
|
'CreateDate',
|
|
'StartDate',
|
|
'EndDate'
|
|
];
|
|
|
|
protected $useTimestamps = true;
|
|
protected $createdField = 'CreateDate';
|
|
protected $updatedField = '';
|
|
protected $useSoftDeletes = true;
|
|
protected $deletedField = "EndDate";
|
|
}
|