20 lines
357 B
JSON
20 lines
357 B
JSON
|
{
|
||
|
"name": "appointment",
|
||
|
"properties": {
|
||
|
"date": "date"
|
||
|
},
|
||
|
"options": {
|
||
|
"relations": {
|
||
|
"physician": {
|
||
|
"model": "physician",
|
||
|
"type": "belongsTo",
|
||
|
"foreignKey": "physicianId"
|
||
|
},
|
||
|
"patient": {
|
||
|
"model": "patient",
|
||
|
"type": "belongsTo",
|
||
|
"foreignKey": "patientId"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|