This commit is contained in:
parent
eb2dd5ba5b
commit
b95009899c
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue