18 lines
542 B
PHP
18 lines
542 B
PHP
<?php
|
|
namespace App\Models\Specimen;
|
|
|
|
use App\Models\BaseModel;
|
|
|
|
class SpecimenModel extends BaseModel {
|
|
protected $table = 'specimen';
|
|
protected $primaryKey = 'InternalSID';
|
|
protected $allowedFields = ['SID', 'SiteID', 'OrderID', 'ConDefID', 'Parent', 'Qty', 'Unit', 'GenerateBy',
|
|
'SchDateTime','CreateDate', 'EndDate', 'ArchiveDate'];
|
|
|
|
protected $useTimestamps = true;
|
|
protected $createdField = 'CreateDate';
|
|
protected $updatedField = '';
|
|
protected $useSoftDeletes = true;
|
|
protected $deletedField = 'EndDate';
|
|
|
|
} |