{ "name": "AuthCode", "base": "VnModel", "options": { "mysql": { "table": "salix.authCode" } }, "properties": { "userFk": { "type": "number", "required": true, "id": true }, "code": { "type": "string", "required": true }, "expires": { "type": "number", "required": true } }, "relations": { "user": { "type": "belongsTo", "model": "Account", "foreignKey": "userFk" } } }