{
    "rest": true,
    "allowMapping": true,
    "type": "timeentry",
    "id": "timebill",
    "criteria": "timebill",
    "select": "employee.isJobResource",
    "where": "WHERE employee.isJobResource = 'T'",
    "inner": "INNER JOIN employee ON timebill.employee = employee.id",
    "mapping": {
        "employee": "employee",
        "trandate": "tranDate",
        "hours": "hours",
        "project": "customer",
        "memo": "memo",
        "isbillable": "isBillable",
        "subsidiary": "subsidiary",
        "location": "location",
        "casetaskevent": "caseTaskEvent",
        "serviceitem": "item",
        "department": "department",
        "class": "class",
        "billingclass": "billingClass",
        "timetype": "timeType",
        "timeofftype": "timeOffType"
    },
    "dependencies": {
        "payrollitem": {
            "name": "Payroll Items",
            "model": "PayrollItem",
            "path": "/src/Domain/PayrollItems/Data/criteria.json"
        },
        "serviceitem": {
            "name": "Service Items",
            "model": "ServiceItem",
            "path": "/src/Domain/ServiceItems/Data/criteria.json"
        }
    }
}
