This commit is contained in:
parent
eb2dd5ba5b
commit
b95009899c
|
@ -45,7 +45,6 @@
|
||||||
"hasDiploma": {
|
"hasDiploma": {
|
||||||
"type" : "boolean"
|
"type" : "boolean"
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
"relations": {
|
"relations": {
|
||||||
"worker": {
|
"worker": {
|
||||||
|
@ -55,12 +54,12 @@
|
||||||
},
|
},
|
||||||
"trainingCourseType": {
|
"trainingCourseType": {
|
||||||
"type": "belongsTo",
|
"type": "belongsTo",
|
||||||
"model": "trainingCourseType",
|
"model": "TrainingCourseType",
|
||||||
"foreignKey": "trainingCourseTypeFk"
|
"foreignKey": "trainingCourseTypeFk"
|
||||||
},
|
},
|
||||||
"centerFk": {
|
"trainingCenter": {
|
||||||
"type": "belongsTo",
|
"type": "belongsTo",
|
||||||
"model": "Center",
|
"model": "TrainingCenter",
|
||||||
"foreignKey": "centerFk"
|
"foreignKey": "centerFk"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,23 +17,5 @@
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"required": true
|
"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