Re-synced controllers, configs, libraries, seeds, and docs with the latest API expectations and response helpers.
18 lines
668 B
PHP
Executable File
18 lines
668 B
PHP
Executable File
<?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';
|
|
|
|
} |