salix/modules/invoiceOut/back/models/invoice-correction.json

59 lines
1.6 KiB
JSON
Raw Permalink Normal View History

2023-07-28 13:21:43 +00:00
{
"name": "InvoiceCorrection",
"base": "VnModel",
"options": {
"mysql": {
"table": "invoiceCorrection"
}
},
"properties": {
"correctingFk": {
"id": true,
"type": "number",
"description": "Identifier"
},
"correctedFk": {
"type": "number"
},
"cplusRectificationTypeFk": {
2023-11-20 06:56:15 +00:00
"type": "number",
"required": true
2023-07-28 13:21:43 +00:00
},
2023-11-14 14:45:52 +00:00
"siiTypeInvoiceOutFk": {
2023-11-20 06:56:15 +00:00
"type": "number",
"required": true
2023-07-28 13:21:43 +00:00
},
"invoiceCorrectionTypeFk": {
2023-11-20 06:56:15 +00:00
"type": "number",
"required": true
2024-01-02 12:17:10 +00:00
},
"relations": {
"correcting": {
"type": "belongsTo",
"model": "InvoiceOut",
"foreignKey": "correctingFk"
},
"corrected": {
"type": "belongsTo",
"model": "InvoiceOut",
"foreignKey": "correctedFk"
},
"cplusRectificationType": {
"type": "belongsTo",
"model": "cplusRectificationType",
"foreignKey": "cplusRectificationTypeFk"
},
"siiTypeInvoiceOut": {
"type": "belongsTo",
"model": "siiTypeInvoiceOut",
"foreignKey": "siiTypeInvoiceOutFk"
},
"invoiceCorrectionType": {
"type": "belongsTo",
"model": "invoiceCorrectionType",
"foreignKey": "invoiceCorrectionTypeFk"
}
2023-07-28 13:21:43 +00:00
}
}
2023-11-14 14:45:52 +00:00
}