clqms-be/app/Models/Specimen/SpecimenCollectionModel.php
OpenCode Bot 9946978487 chore: refresh CLQMS backend baseline
Re-synced controllers, configs, libraries, seeds, and docs with the latest API expectations and response helpers.
2026-04-08 16:07:19 +07:00

18 lines
593 B
PHP
Executable File

<?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';
}