2025-10-24 16:41:31 +07:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
namespace App\Models\RefRange;
|
|
|
|
|
|
|
|
|
|
use App\Models\BaseModel;
|
|
|
|
|
|
2026-01-05 16:55:34 +07:00
|
|
|
class RefNumModel extends BaseModel
|
|
|
|
|
{
|
2025-10-24 16:41:31 +07:00
|
|
|
protected $table = 'refnum';
|
|
|
|
|
protected $primaryKey = 'RefNumID';
|
2026-01-05 16:55:34 +07:00
|
|
|
protected $allowedFields = [
|
|
|
|
|
'SiteID',
|
|
|
|
|
'TestSiteID',
|
|
|
|
|
'SpcType',
|
|
|
|
|
'Sex',
|
|
|
|
|
'Criteria',
|
|
|
|
|
'AgeStart',
|
|
|
|
|
'AgeEnd',
|
|
|
|
|
'NumRefType',
|
|
|
|
|
'RangeType',
|
|
|
|
|
'LowSign',
|
|
|
|
|
'Low',
|
|
|
|
|
'HighSign',
|
|
|
|
|
'High',
|
|
|
|
|
'Display',
|
|
|
|
|
'Flag',
|
|
|
|
|
'Interpretation',
|
|
|
|
|
'Notes',
|
|
|
|
|
'CreateDate',
|
|
|
|
|
'StartDate',
|
|
|
|
|
'EndDate'
|
|
|
|
|
];
|
|
|
|
|
|
2025-10-24 16:41:31 +07:00
|
|
|
protected $useTimestamps = true;
|
|
|
|
|
protected $createdField = 'CreateDate';
|
|
|
|
|
protected $updatedField = '';
|
|
|
|
|
protected $useSoftDeletes = true;
|
|
|
|
|
protected $deletedField = "EndDate";
|
2026-01-05 16:55:34 +07:00
|
|
|
}
|