{
    "name": "Department",
    "base": "VnModel",
    "options": {
        "mysql": {
            "table": "department"
        }
    },
    "properties": {
        "id": {
            "id": true,
            "type": "Number"
        },
        "name": {
            "type": "String"
        }
    },
    "relations": {
        "father": {
            "type": "belongsTo",
            "model": "Department",
            "foreignKey": "fatherFk"
        }
    }
}