{
    "name": "Device",
    "base": "VnModel",
    "options": {
        "mysql": {
            "table": "device"
        }
    },
    "properties": {
        "id": {
            "id": true,
            "type": "Number"
        },
        "sn": {
            "type": "String"
        },
        "model": {
            "type": "String"
        }
    },
    "relations": {
        "user": {
            "type": "belongsTo",
            "model": "Account",
            "foreignKey": "userFk"
        }
    }
}