Commit 74ccc589 authored by Fernando K's avatar Fernando K

Add relations to Mural

parent 6c7760a0
......@@ -22,7 +22,37 @@
}
},
"validations": [],
"relations": {},
"relations": {
"turma": {
"type": "belongsTo",
"model": "Turma",
"foreignKey": "",
"options": {
"nestRemoting": true
}
},
"responsavel": {
"type": "belongsTo",
"polymorphic": true,
"required": true
},
"orgao": {
"type": "belongsTo",
"model": "Orgao",
"foreignKey": "",
"options": {
"nestRemoting": true
}
},
"sala": {
"type": "belongsTo",
"model": "Sala",
"foreignKey": "",
"options": {
"nestRemoting": true
}
}
},
"acls": [],
"methods": {}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment