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

View File

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