Arreglado ClientObservation

This commit is contained in:
nelo 2017-05-12 11:20:32 +02:00
parent b7fb0bca98
commit 89f397da2c
1 changed files with 9 additions and 9 deletions

View File

@ -16,24 +16,21 @@
"type": "string",
"description": "Text"
},
"employeeFk": {
"type": "Number"
},
"creationTime": {
"type": "date",
"description": "Creation date and time"
}
},
"relations": {
"employeeFk": {
"type": "belongsTo",
"model": "Employee",
"foreignKey": "employeeFk"
},
"clientFk": {
"type": "hasOne",
"model": "Client",
"foreignKey": "id"
},
"employeeFk": {
"type": "hasOne",
"model": "Employee",
"foreignKey": "id"
}
},
"acls": [
@ -43,5 +40,8 @@
"principalId": "$everyone",
"permission": "ALLOW"
}
]
],
"scope": {
"include": "employeeFk"
}
}