2023-12-26 13:36:58 +00:00
|
|
|
{
|
|
|
|
"name": "InvoiceInCorrection",
|
|
|
|
"base": "VnModel",
|
|
|
|
"options": {
|
|
|
|
"mysql": {
|
|
|
|
"table": "invoiceInCorrection"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"properties": {
|
|
|
|
"correctingFk": {
|
|
|
|
"id": true,
|
|
|
|
"type": "number"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"relations": {
|
|
|
|
"invoiceIn": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "InvoiceIn",
|
2023-12-28 14:55:11 +00:00
|
|
|
"foreignKey": "correctedFk"
|
2023-12-26 13:36:58 +00:00
|
|
|
},
|
|
|
|
"cplusRectificationType": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "CplusRectificationType",
|
|
|
|
"foreignKey": "cplusRectificationTypeFk"
|
|
|
|
},
|
|
|
|
"invoiceCorrectionType": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "InvoiceCorrectionType",
|
|
|
|
"foreignKey": "invoiceCorrectionTypeFk"
|
|
|
|
},
|
2024-01-26 11:15:53 +00:00
|
|
|
"siiTypeInvoiceOut": {
|
2023-12-26 13:36:58 +00:00
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "SiiTypeInvoiceOut",
|
|
|
|
"foreignKey": "siiTypeInvoiceOutFk"
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|