forked from juan/hedera-web
35 lines
555 B
JSON
35 lines
555 B
JSON
|
{
|
||
|
"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"
|
||
|
}
|
||
|
}
|
||
|
}
|