{
    "name": "ProtocolError",
    "description": "A Protocol Error model",
    "base": "PersistedModel",
    "options": {
        "idInjection": false,
        "mysql": {
            "table": "ProtocolError"
        }
    },
    "properties": {
        "ownerId": {
            "type": "number",
            "required": false,
            "length": null,
            "precision": 10,
            "scale": 0,
            "mysql": {
                "columnName": "ownerId",
                "dataType": "int",
                "dataLength": null,
                "dataPrecision": 10,
                "dataScale": 0,
                "nullable": "Y"
            }
        },
        "errorLine": {
            "type": "number",
            "required": false,
            "length": null,
            "precision": 10,
            "scale": 0,
            "mysql": {
                "columnName": "errorLine",
                "dataType": "int",
                "dataLength": null,
                "dataPrecision": 10,
                "dataScale": 0,
                "nullable": "Y"
            }
        },
        "operation": {
            "type": "string",
            "required": false,
            "length": 3,
            "precision": null,
            "scale": null,
            "mysql": {
                "columnName": "operation",
                "dataType": "varchar",
                "dataLength": 3,
                "dataPrecision": null,
                "dataScale": null,
                "nullable": "Y"
            }
        },
        "version": {
            "type": "number",
            "required": true,
            "length": null,
            "precision": 10,
            "scale": 0,
            "mysql": {
                "columnName": "version",
                "dataType": "int",
                "dataLength": null,
                "dataPrecision": 10,
                "dataScale": 0,
                "nullable": "N"
            }
        },
        "errorCode": {
            "type": "number",
            "required": true,
            "length": null,
            "precision": 10,
            "scale": 0,
            "mysql": {
                "columnName": "errorCode",
                "dataType": "int",
                "dataLength": null,
                "dataPrecision": 10,
                "dataScale": 0,
                "nullable": "N"
            }
        },
        "errorDate": {
            "type": "date",
            "required": true,
            "length": null,
            "precision": null,
            "scale": null,
            "mysql": {
                "columnName": "errorDate",
                "dataType": "datetime",
                "dataLength": null,
                "dataPrecision": null,
                "dataScale": null,
                "nullable": "N"
            }
        },
        "errorMessage": {
            "type": "string",
            "required": true,
            "length": 255,
            "precision": null,
            "scale": null,
            "mysql": {
                "columnName": "errorMessage",
                "dataType": "varchar",
                "dataLength": 255,
                "dataPrecision": null,
                "dataScale": null,
                "nullable": "N"
            }
        },
        "headerIndex": {
            "type": "string",
            "required": false,
            "length": 50,
            "precision": null,
            "scale": null,
            "mysql": {
                "columnName": "headerIndex",
                "dataType": "varchar",
                "dataLength": 50,
                "dataPrecision": null,
                "dataScale": null,
                "nullable": "Y"
            }
        },
        "msgType": {
            "type": "string",
            "required": true,
            "length": 3,
            "precision": null,
            "scale": null,
            "mysql": {
                "columnName": "msgType",
                "dataType": "varchar",
                "dataLength": 3,
                "dataPrecision": null,
                "dataScale": null,
                "nullable": "N"
            }
        },
        "objectCode": {
            "type": "string",
            "required": true,
            "length": 50,
            "precision": null,
            "scale": null,
            "mysql": {
                "columnName": "objectCode",
                "dataType": "varchar",
                "dataLength": 50,
                "dataPrecision": null,
                "dataScale": null,
                "nullable": "N"
            }
        },
        "sourceFile": {
            "type": "string",
            "required": true,
            "length": 50,
            "precision": null,
            "scale": null,
            "mysql": {
                "columnName": "sourceFile",
                "dataType": "varchar",
                "dataLength": 50,
                "dataPrecision": null,
                "dataScale": null,
                "nullable": "N"
            }
        },
        "creationDate": {
            "type": "date",
            "required": false,
            "length": null,
            "precision": null,
            "scale": null,
            "mysql": {
                "columnName": "creationDate",
                "dataType": "datetime",
                "dataLength": null,
                "dataPrecision": null,
                "dataScale": null,
                "nullable": "Y"
            }
        },
        "updatedDate": {
            "type": "date",
            "required": false,
            "length": null,
            "precision": null,
            "scale": null,
            "mysql": {
                "columnName": "updatedDate",
                "dataType": "datetime",
                "dataLength": null,
                "dataPrecision": null,
                "dataScale": null,
                "nullable": "Y"
            }
        },
        "createdById": {
            "type": "number",
            "required": false,
            "length": null,
            "precision": 10,
            "scale": 0,
            "mysql": {
                "columnName": "createdById",
                "dataType": "int",
                "dataLength": null,
                "dataPrecision": 10,
                "dataScale": 0,
                "nullable": "Y"
            }
        },
        "updatedById": {
            "type": "number",
            "required": false,
            "length": null,
            "precision": 10,
            "scale": 0,
            "mysql": {
                "columnName": "updatedById",
                "dataType": "int",
                "dataLength": null,
                "dataPrecision": 10,
                "dataScale": 0,
                "nullable": "Y"
            }
        }
    },
    "relations": {
        "owner": {
            "type": "belongsTo",
            "model": "Owner",
            "foreignKey": "ownerId"
        },
        "createdBy": {
            "type": "belongsTo",
            "model": "Customer",
            "foreignKey": "createdById"
        },
        "updatedBy": {
            "type": "belongsTo",
            "model": "Customer",
            "foreignKey": "updatedById"
        }
    },
    "acls": [],
    "methods": {}
}
