refs #6553 fix back
gitea/salix/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Carlos Satorres 2024-06-05 10:43:53 +02:00
parent 11d1cd8eb3
commit 5d73af5392
4 changed files with 12 additions and 4 deletions

View File

@ -154,5 +154,8 @@
},
"WorkerBusinessType": {
"dataSource": "vn"
},
"PayrollCategory": {
"dataSource": "vn"
}
}

View File

@ -103,12 +103,16 @@
"model": "OccupationCode",
"foreignKey":"occupationCodeFk"
},
"payrollCategory": {
"type": "belongsTo",
"model": "PayrollCategory",
"foreignKey":"workerBusinessCategoryFk"
},
"workerBusinessProfessionalCategory": {
"type": "belongsTo",
"model": "WorkerBusinessProfessionalCategory",
"foreignKey": "workerBusinessProfessionalCategoryFk"
}
,
},
"calendarType": {
"type": "belongsTo",
"model": "CalendarType",

View File

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

View File

@ -1,5 +1,5 @@
{
"name": "BusinessReasonEnd",
"name": "PayrollCategory",
"base": "VnModel",
"options": {
"mysql": {