mirror of
https://github.com/Karaka-Management/oms-HumanResourceManagement.git
synced 2026-01-27 11:18:40 +00:00
Test fixes after module+builder test extension
This commit is contained in:
parent
7647e69efd
commit
50a2fbfc0a
|
|
@ -39,58 +39,58 @@
|
|||
},
|
||||
"hr_staff_active": {
|
||||
"name": "hr_staff_active",
|
||||
"type": "INT",
|
||||
"type": "TINYINT",
|
||||
"null": false
|
||||
}
|
||||
},
|
||||
"hr_staff_history": {
|
||||
"name": "hr_staff_history",
|
||||
"fields": {
|
||||
"hr_staff_history_id": {
|
||||
"name": "hr_staff_history_id",
|
||||
"type": "INT",
|
||||
"null": false,
|
||||
"primary": true,
|
||||
"autoincrement": true
|
||||
},
|
||||
"hr_staff_history_staff": {
|
||||
"name": "hr_staff_history_staff",
|
||||
"type": "INT",
|
||||
"null": false,
|
||||
"foreignTable": "hr_staff",
|
||||
"foreignKey": "hr_staff_id"
|
||||
},
|
||||
"hr_staff_history_unit": {
|
||||
"name": "hr_staff_history_unit",
|
||||
"type": "INT",
|
||||
"null": false,
|
||||
"foreignTable": "organization_unit",
|
||||
"foreignKey": "organization_unit_id"
|
||||
},
|
||||
"hr_staff_history_department": {
|
||||
"name": "hr_staff_history_department",
|
||||
"type": "INT",
|
||||
"null": false,
|
||||
"foreignTable": "organization_department",
|
||||
"foreignKey": "organization_department_id"
|
||||
},
|
||||
"hr_staff_history_position": {
|
||||
"name": "hr_staff_history_position",
|
||||
"type": "INT",
|
||||
"null": false,
|
||||
"foreignTable": "organization_position",
|
||||
"foreignKey": "organization_position_id"
|
||||
},
|
||||
"hr_staff_history_start": {
|
||||
"name": "hr_staff_history_start",
|
||||
"type": "DATETIME",
|
||||
"null": false
|
||||
},
|
||||
"hr_staff_history_end": {
|
||||
"name": "hr_staff_history_end",
|
||||
"type": "DATETIME",
|
||||
"null": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"hr_staff_history": {
|
||||
"name": "hr_staff_history",
|
||||
"fields": {
|
||||
"hr_staff_history_id": {
|
||||
"name": "hr_staff_history_id",
|
||||
"type": "INT",
|
||||
"null": false,
|
||||
"primary": true,
|
||||
"autoincrement": true
|
||||
},
|
||||
"hr_staff_history_staff": {
|
||||
"name": "hr_staff_history_staff",
|
||||
"type": "INT",
|
||||
"null": false,
|
||||
"foreignTable": "hr_staff",
|
||||
"foreignKey": "hr_staff_id"
|
||||
},
|
||||
"hr_staff_history_unit": {
|
||||
"name": "hr_staff_history_unit",
|
||||
"type": "INT",
|
||||
"null": false,
|
||||
"foreignTable": "organization_unit",
|
||||
"foreignKey": "organization_unit_id"
|
||||
},
|
||||
"hr_staff_history_department": {
|
||||
"name": "hr_staff_history_department",
|
||||
"type": "INT",
|
||||
"null": false,
|
||||
"foreignTable": "organization_department",
|
||||
"foreignKey": "organization_department_id"
|
||||
},
|
||||
"hr_staff_history_position": {
|
||||
"name": "hr_staff_history_position",
|
||||
"type": "INT",
|
||||
"null": false,
|
||||
"foreignTable": "organization_position",
|
||||
"foreignKey": "organization_position_id"
|
||||
},
|
||||
"hr_staff_history_start": {
|
||||
"name": "hr_staff_history_start",
|
||||
"type": "DATETIME",
|
||||
"null": false
|
||||
},
|
||||
"hr_staff_history_end": {
|
||||
"name": "hr_staff_history_end",
|
||||
"type": "DATETIME",
|
||||
"null": false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -25,4 +25,12 @@ final class EmployeeHistoryMapper extends DataMapperAbstract
|
|||
* @since 1.0.0
|
||||
*/
|
||||
protected static $primaryField = 'hr_staff_history_id';
|
||||
|
||||
/**
|
||||
* Primary table.
|
||||
*
|
||||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected static $table = 'hr_staff_history';
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user