{ "name": "XDiario", "base": "VnModel", "options": { "mysql": { "table": "XDiario" } }, "properties": { "ASIEN": { "type": "number", "id": true, "description": "Identifier" }, "FECHA": { "type": "date" }, "SUBCTA": { "type": "string" }, "CONTRA": { "type": "string" }, "CONCEPTO": { "type": "string" }, "EURODEBE": { "type": "number" }, "EUROHABER": { "type": "number" }, "BASEEURO": { "type": "number" }, "SERIE": { "type": "string" }, "CAMBIO": { "type": "number" }, "DEBEME": { "type": "number" }, "HABERME": { "type": "number" }, "FACTURA": { "type": "string" }, "IVA": { "type": "number" }, "RECEQUIV": { "type": "number" }, "METAL": { "type": "number" }, "METALIMP": { "type": "number" }, "CLIENTE": { "type": "string" }, "METALEJE": { "type": "string" }, "AUXILIAR": { "type": "string" }, "MONEDAUSO": { "type": "string" } }, "relations": { "company": { "type": "belongsTo", "model": "Company", "foreignKey": "empresa_id" } } }