hedera-front/back/common/models/visit-access.json

35 lines
555 B
JSON
Raw Normal View History

2019-07-22 11:46:10 +00:00
{
"name": "VisitAccess",
"description": "Visit accesses",
"base": "PersistedModel",
"options": {
"mysql": {
"table": "hedera.visitAccess"
}
},
"properties": {
"id": {
"type": "Number",
"id": true,
"description": "Identifier"
},
"stamp": {
"type": "Date",
"required": true
},
"ip": {
"type": "Number"
},
"referer": {
"type": "String"
}
},
"relations": {
"agent": {
"type": "belongsTo",
"model": "VisitAgent",
"foreignKey": "agentFk"
}
}
}