hedera-web/back/common/models/visit.json

25 lines
389 B
JSON
Raw Permalink Normal View History

2019-07-22 11:46:10 +00:00
{
"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"
}
}
}