44 lines
825 B
JSON
44 lines
825 B
JSON
{
|
|
"name": "InvoiceInDueDay",
|
|
"base": "VnModel",
|
|
"options": {
|
|
"mysql": {
|
|
"table": "invoiceInDueDay"
|
|
}
|
|
},
|
|
"properties": {
|
|
"id": {
|
|
"id": true,
|
|
"type": "number",
|
|
"description": "Identifier"
|
|
},
|
|
"invoiceInFk": {
|
|
"type": "number"
|
|
},
|
|
"dueDated": {
|
|
"type": "date"
|
|
},
|
|
"bankFk": {
|
|
"type": "number"
|
|
},
|
|
"amount": {
|
|
"type": "number"
|
|
},
|
|
"foreignValue": {
|
|
"type": "number"
|
|
},
|
|
"created": {
|
|
"type": "date"
|
|
}
|
|
},
|
|
"relations": {
|
|
"bank": {
|
|
"type": "belongsTo",
|
|
"model": "Accounting",
|
|
"foreignKey": "bankFk"
|
|
}
|
|
}
|
|
}
|
|
|
|
|