41 lines
1.0 KiB
JSON
41 lines
1.0 KiB
JSON
|
{
|
||
|
"name": "InvoiceInCorrection",
|
||
|
"base": "VnModel",
|
||
|
"options": {
|
||
|
"mysql": {
|
||
|
"table": "invoiceInCorrection"
|
||
|
}
|
||
|
},
|
||
|
"properties": {
|
||
|
"correctingFk": {
|
||
|
"id": true,
|
||
|
"type": "number"
|
||
|
},
|
||
|
"correctedFk": {
|
||
|
"type": "number"
|
||
|
}
|
||
|
},
|
||
|
"relations": {
|
||
|
"invoiceIn": {
|
||
|
"type": "belongsTo",
|
||
|
"model": "InvoiceIn",
|
||
|
"foreignKey": "correctingFk"
|
||
|
},
|
||
|
"cplusRectificationType": {
|
||
|
"type": "belongsTo",
|
||
|
"model": "CplusRectificationType",
|
||
|
"foreignKey": "cplusRectificationTypeFk"
|
||
|
},
|
||
|
"invoiceCorrectionType": {
|
||
|
"type": "belongsTo",
|
||
|
"model": "InvoiceCorrectionType",
|
||
|
"foreignKey": "invoiceCorrectionTypeFk"
|
||
|
},
|
||
|
"siiTypeInvoiceOutFk": {
|
||
|
"type": "belongsTo",
|
||
|
"model": "SiiTypeInvoiceOut",
|
||
|
"foreignKey": "siiTypeInvoiceOutFk"
|
||
|
}
|
||
|
|
||
|
}
|
||
|
}
|