clqms-be/app/Models/Specimen/SpecimenStatusModel.php
root 2bcdf09b55 chore: repo-wide normalization + rules test coverage
Normalize formatting/line endings across configs, controllers, models, tests, and OpenAPI specs.

Update rule expression/rule engine implementation and remove obsolete RuleAction controller/model.

Add unit tests for rule expression syntax and multi-action behavior, and include docs updates.
2026-03-16 07:24:50 +07:00

18 lines
668 B
PHP

<?php
namespace App\Models\Specimen;
use App\Models\BaseModel;
class SpecimenStatusModel extends BaseModel {
protected $table = 'specimenstatus';
protected $primaryKey = 'SpcStaID';
protected $allowedFields = ['SID', 'OrderID', 'SpcAct', 'ActRes', 'SpcStatus', 'Qty', 'Unit', 'SpcCon', 'Comment', 'CurrSiteID', 'CurrLocID', 'Origin',
'GeoLocationSystem', 'GeoLocationData', 'DIDType', 'DID', 'UserID', 'CreateDate', 'EndDate', 'ArchiveDate'];
protected $useTimestamps = true;
protected $createdField = 'CreateDate';
protected $updatedField = '';
protected $useSoftDeletes = true;
protected $deletedField = 'EndDate';
}