{ "name": "DeviceLog", "base": "VnModel", "options": { "mysql": { "table": "deviceLog" } }, "properties": { "id": { "id": true, "type": "number" }, "android_id": { "type": "string" }, "userFk": { "type": "number" }, "created": { "type": "date" }, "nameApp": { "type": "string" }, "versionApp": { "type": "string" }, "deviceProductionFk": { "type": "number" }, "serialNumber": { "type": "string" } }, "relations": { "user": { "type": "belongsTo", "model": "VnUser", "foreignKey": "userFk" } } }