feat: match bank transaction

This commit is contained in:
Ahmed Bouhuolia
2024-06-20 23:31:46 +02:00
parent b37002bea6
commit 738a84bb4b
20 changed files with 492 additions and 55 deletions

View File

@@ -1,4 +1,5 @@
import TenantModel from 'models/TenantModel';
import { Model } from 'objection';
export class MatchedBankTransaction extends TenantModel {
/**
@@ -12,7 +13,7 @@ export class MatchedBankTransaction extends TenantModel {
* Timestamps columns.
*/
get timestamps() {
return [];
return ['createdAt', 'updatedAt'];
}
/**
@@ -21,4 +22,11 @@ export class MatchedBankTransaction extends TenantModel {
static get virtualAttributes() {
return [];
}
/**
* Relationship mapping.
*/
static get relationMappings() {
return {};
}
}