{
"name": "appointment",
"properties": {
"date": "date"
},
"options": {
"relations": {
"physician": {
"model": "physician",
"type": "belongsTo",
"foreignKey": "physicianId"
"patient": {
"model": "patient",
"foreignKey": "patientId"
}