15 lines
231 B
JSON
15 lines
231 B
JSON
|
{
|
||
|
"name": "physician",
|
||
|
"properties": {
|
||
|
"name": "string"
|
||
|
},
|
||
|
"relations": {
|
||
|
"patients": {
|
||
|
"model": "patient",
|
||
|
"type": "hasMany",
|
||
|
"through": "appointment",
|
||
|
"foreignKey": "patientId"
|
||
|
}
|
||
|
}
|
||
|
}
|