refs #6553 fix back
gitea/salix/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Carlos Satorres 2024-06-25 10:21:24 +02:00
parent be0de3511b
commit cc8af9d14a
3 changed files with 7 additions and 4 deletions

View File

@ -42,7 +42,7 @@
"type": "string"
},
"departmentFk": {
"type": "number"
"type": "string"
},
"workerBusinessProfessionalCategoryFk": {
"type": "number"
@ -91,7 +91,8 @@
"companyCode": {
"type": "belongsTo",
"model": "Company",
"foreignKey": "companyCodeFk"
"foreignKey": "companyCodeFk",
"primaryKey": "code"
},
"reasonEnd": {
"type": "belongsTo",
@ -101,7 +102,8 @@
"occupationCode": {
"type": "belongsTo",
"model": "OccupationCode",
"foreignKey":"occupationCodeFk"
"foreignKey":"occupationCodeFk",
"primaryKey": "code"
},
"payrollCategory": {
"type": "belongsTo",

View File

@ -8,7 +8,8 @@
},
"properties": {
"id": {
"type": "number"
"type": "number",
"id": true
},
"name": {
"type": "string"