Re-synced controllers, configs, libraries, seeds, and docs with the latest API expectations and response helpers.
17 lines
560 B
PHP
Executable File
17 lines
560 B
PHP
Executable File
<?php
|
|
namespace App\Models\Specimen;
|
|
|
|
use App\Models\BaseModel;
|
|
|
|
class SpecimenPrepModel extends BaseModel {
|
|
protected $table = 'specimenprep';
|
|
protected $primaryKey = 'SpcPrpID';
|
|
protected $allowedFields = ['SpcStaID', 'Description', 'Method', 'Additive', 'AddQty', 'AddUnit', 'PrepStart', 'PrepEnd', 'CreateDate', 'EndDate', 'ArchiveDate'];
|
|
|
|
protected $useTimestamps = true;
|
|
protected $createdField = 'CreateDate';
|
|
protected $updatedField = '';
|
|
protected $useSoftDeletes = true;
|
|
protected $deletedField = 'EndDate';
|
|
|
|
} |