{
    "name": "WorkerCalendar",
    "base": "VnModel",
    "options": {
        "mysql": {
            "table": "workerCalendar"
        }
    },
    "properties": {
        "businessFk": {
            "id": 1,
            "type": "Number"
        },
        "workerFk": {
            "id": 2,
            "type": "Number"
        },
        "dated": {
            "id": 3,
            "type": "Date"
        }
    },
    "relations": {
        "worker": {
            "type": "belongsTo",
            "model": "Worker",
            "foreignKey": "workerFk"
        },
        "absenceType": {
            "type": "belongsTo",
            "model": "AbsenceType",
            "foreignKey": "absenceTypeFk"
        }
    }
}