25 lines
389 B
JSON
25 lines
389 B
JSON
|
{
|
||
|
"name": "Visit",
|
||
|
"description": "Visits",
|
||
|
"base": "PersistedModel",
|
||
|
"options": {
|
||
|
"mysql": {
|
||
|
"table": "hedera.visit"
|
||
|
}
|
||
|
},
|
||
|
"properties": {
|
||
|
"id": {
|
||
|
"type": "Number",
|
||
|
"id": true,
|
||
|
"description": "Identifier"
|
||
|
}
|
||
|
},
|
||
|
"relations": {
|
||
|
"firstAgent": {
|
||
|
"type": "belongsTo",
|
||
|
"model": "VisitAgent",
|
||
|
"foreignKey": "firstAgentFk"
|
||
|
}
|
||
|
}
|
||
|
}
|