mirror of
https://github.com/Karaka-Management/oms-HumanResourceManagement.git
synced 2026-01-12 12:38:40 +00:00
91 lines
2.9 KiB
JSON
Executable File
91 lines
2.9 KiB
JSON
Executable File
{
|
|
"hr_staff": {
|
|
"name": "hr_staff",
|
|
"fields": {
|
|
"hr_staff_id": {
|
|
"name": "hr_staff_id",
|
|
"type": "INT",
|
|
"null": false,
|
|
"primary": true,
|
|
"autoincrement": true
|
|
},
|
|
"hr_staff_profile": {
|
|
"name": "hr_staff_profile",
|
|
"type": "INT",
|
|
"null": false,
|
|
"foreignTable": "profile_account",
|
|
"foreignKey": "profile_account_id"
|
|
},
|
|
"hr_staff_smiPHash": {
|
|
"name": "hr_staff_smiPHash",
|
|
"type": "VARBINARY(255)",
|
|
"null": false
|
|
},
|
|
"hr_staff_image": {
|
|
"name": "hr_staff_image",
|
|
"type": "INT",
|
|
"default": null,
|
|
"null": true,
|
|
"foreignTable": "media",
|
|
"foreignKey": "media_id",
|
|
"annotations": {
|
|
"gdpr": true
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"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": true,
|
|
"default": null,
|
|
"foreignTable": "organization_unit",
|
|
"foreignKey": "organization_unit_id"
|
|
},
|
|
"hr_staff_history_department": {
|
|
"name": "hr_staff_history_department",
|
|
"type": "INT",
|
|
"null": true,
|
|
"default": null,
|
|
"foreignTable": "organization_department",
|
|
"foreignKey": "organization_department_id"
|
|
},
|
|
"hr_staff_history_position": {
|
|
"name": "hr_staff_history_position",
|
|
"type": "INT",
|
|
"null": true,
|
|
"default": null,
|
|
"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": true,
|
|
"default": null
|
|
}
|
|
}
|
|
}
|
|
} |