mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 05:40:31 +00:00
37 lines
602 B
TypeScript
37 lines
602 B
TypeScript
import { BaseModel } from '@/models/Model';
|
|
|
|
export class MatchedBankTransaction extends BaseModel {
|
|
public referenceId!: number;
|
|
public referenceType!: string;
|
|
public uncategorizedTransactionId!: number;
|
|
|
|
|
|
/**
|
|
* Table name.
|
|
*/
|
|
static get tableName() {
|
|
return 'matched_bank_transactions';
|
|
}
|
|
|
|
/**
|
|
* Timestamps columns.
|
|
*/
|
|
get timestamps() {
|
|
return ['createdAt', 'updatedAt'];
|
|
}
|
|
|
|
/**
|
|
* Virtual attributes.
|
|
*/
|
|
static get virtualAttributes() {
|
|
return [];
|
|
}
|
|
|
|
/**
|
|
* Relationship mapping.
|
|
*/
|
|
static get relationMappings() {
|
|
return {};
|
|
}
|
|
}
|