- 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
33 lines
671 B
PHP
33 lines
671 B
PHP
<?php
|
|
|
|
namespace App\Models\Test;
|
|
|
|
use App\Models\BaseModel;
|
|
|
|
class TestMapModel extends BaseModel {
|
|
protected $table = 'testmap';
|
|
protected $primaryKey = 'TestMapID';
|
|
protected $allowedFields = [
|
|
'TestSiteID',
|
|
'HostType',
|
|
'HostID',
|
|
'HostDataSource',
|
|
'HostTestCode',
|
|
'HostTestName',
|
|
'ClientType',
|
|
'ClientID',
|
|
'ClientDataSource',
|
|
'ConDefID',
|
|
'ClientTestCode',
|
|
'ClientTestName',
|
|
'CreateDate',
|
|
'EndDate'
|
|
];
|
|
|
|
protected $useTimestamps = true;
|
|
protected $createdField = 'CreateDate';
|
|
protected $updatedField = '';
|
|
protected $useSoftDeletes = true;
|
|
protected $deletedField = "EndDate";
|
|
|
|
} |