2026-03-16 07:24:50 +07:00
|
|
|
<?php
|
|
|
|
|
namespace App\Models\Specimen;
|
|
|
|
|
|
|
|
|
|
use App\Models\BaseModel;
|
|
|
|
|
|
|
|
|
|
class SpecimenCollectionModel extends BaseModel {
|
|
|
|
|
protected $table = 'specimencollection';
|
|
|
|
|
protected $primaryKey = 'SpcColID';
|
|
|
|
|
protected $allowedFields = ['SpcColID', 'SpcStaID', 'SpRole', 'ColMethod', 'BodySite', 'CntSize', 'FastingVolume',
|
|
|
|
|
'ColStart', 'ColEnd', 'CreateDate', 'EndDate', 'ArchiveDate'];
|
|
|
|
|
|
|
|
|
|
protected $useTimestamps = true;
|
|
|
|
|
protected $createdField = 'CreateDate';
|
|
|
|
|
protected $updatedField = '';
|
|
|
|
|
protected $useSoftDeletes = true;
|
|
|
|
|
protected $deletedField = 'EndDate';
|
|
|
|
|
|
2025-11-10 16:02:52 +07:00
|
|
|
}
|