hedera-web/back/common/models/user-session.json

32 lines
508 B
JSON

{
"name": "UserSession",
"description": "Sessions",
"base": "PersistedModel",
"options": {
"mysql": {
"table": "hedera.userSession"
}
},
"properties": {
"ssid": {
"type": "String",
"id": true
},
"created": {
"type": "Date",
"required": true
},
"lastUpdate": {
"type": "Date",
"required": true
}
},
"relations": {
"userVisit": {
"type": "belongsTo",
"model": "VisitUser",
"foreignKey": "userVisitFk"
}
}
}