mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 12:50:38 +00:00
add server to monorepo.
This commit is contained in:
21
packages/server/src/models/Currency.ts
Normal file
21
packages/server/src/models/Currency.ts
Normal file
@@ -0,0 +1,21 @@
|
||||
import TenantModel from 'models/TenantModel';
|
||||
|
||||
export default class Currency extends TenantModel {
|
||||
/**
|
||||
* Table name
|
||||
*/
|
||||
static get tableName() {
|
||||
return 'currencies';
|
||||
}
|
||||
|
||||
/**
|
||||
* Timestamps columns.
|
||||
*/
|
||||
get timestamps() {
|
||||
return ['createdAt', 'updatedAt'];
|
||||
}
|
||||
|
||||
static get resourceable() {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user