- Add new dialog forms for test calc, group, param, and title management - Refactor test_dialog.php to new location (master/tests/) - Update TestDefCalModel, TestDefSiteModel, TestDefTechModel, TestMapModel - Modify Tests controller and Routes for new dialog handlers - Update migration schema for test definitions - Add new styles for v2 test management interface - Include Test Management documentation files
41 lines
786 B
PHP
41 lines
786 B
PHP
<?php
|
|
|
|
namespace App\Models\Test;
|
|
|
|
use App\Models\BaseModel;
|
|
|
|
class TestDefTechModel extends BaseModel {
|
|
protected $table = 'testdeftech';
|
|
protected $primaryKey = 'TestTechID';
|
|
protected $allowedFields = [
|
|
'SiteID',
|
|
'TestSiteID',
|
|
'DisciplineID',
|
|
'DepartmentID',
|
|
'WorkstationID',
|
|
'EquipmentID',
|
|
'ResultType',
|
|
'RefType',
|
|
'VSet',
|
|
'SpcType',
|
|
'SpcDesc',
|
|
'ReqQty',
|
|
'ReqQtyUnit',
|
|
'Unit1',
|
|
'Factor',
|
|
'Unit2',
|
|
'Decimal',
|
|
'CollReq',
|
|
'Method',
|
|
'ExpectedTAT',
|
|
'CreateDate',
|
|
'EndDate'
|
|
];
|
|
|
|
protected $useTimestamps = true;
|
|
protected $createdField = 'CreateDate';
|
|
protected $updatedField = '';
|
|
protected $useSoftDeletes = true;
|
|
protected $deletedField = "EndDate";
|
|
|
|
} |