refs #7406 worker formation #2511

Merged
carlossa merged 12 commits from 7406-workerFormation into dev 2024-06-25 11:17:58 +00:00
2 changed files with 3 additions and 22 deletions
Showing only changes of commit b95009899c - Show all commits

View File

@ -45,7 +45,6 @@
"hasDiploma": {
"type" : "boolean"
}
},
"relations": {
"worker": {
@ -55,12 +54,12 @@
},
"trainingCourseType": {
"type": "belongsTo",
"model": "trainingCourseType",
"model": "TrainingCourseType",
"foreignKey": "trainingCourseTypeFk"
},
"centerFk": {
"trainingCenter": {
"type": "belongsTo",
"model": "Center",
"model": "TrainingCenter",
"foreignKey": "centerFk"
}
}

View File

@ -17,23 +17,5 @@
"type": "string",
"required": true
}
},
"relations": {
"worker": {
"type": "belongsTo",
"model": "Worker",
"foreignKey": "workerFk"
},
"trainingCourseType": {
"type": "belongsTo",
"model": "TrainingCourseType",
"foreignKey": "trainingCourseTypeFk"
},
"centerFk": {
"type": "belongsTo",
"model": "Center",
"foreignKey": "centerFk"
}
}
}