44 lines
819 B
JSON
44 lines
819 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": "Bank",
|
|
"foreignKey": "bankFk"
|
|
}
|
|
}
|
|
}
|
|
|
|
|