mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 04:40:32 +00:00
26 lines
485 B
TypeScript
26 lines
485 B
TypeScript
import { TenantBaseModel } from '@/modules/System/models/TenantBaseModel';
|
|
|
|
export class Currency extends TenantBaseModel {
|
|
public readonly currencySign: string;
|
|
public readonly currencyName: string;
|
|
public readonly currencyCode: string;
|
|
|
|
/**
|
|
* Table name
|
|
*/
|
|
static get tableName() {
|
|
return 'currencies';
|
|
}
|
|
|
|
/**
|
|
* Timestamps columns.
|
|
*/
|
|
get timestamps() {
|
|
return ['createdAt', 'updatedAt'];
|
|
}
|
|
|
|
static get resourceable() {
|
|
return true;
|
|
}
|
|
}
|