refactor(nestjs): currencies module

This commit is contained in:
Ahmed Bouhuolia
2025-05-17 12:14:02 +02:00
parent 4de1ef71ca
commit ce058b9416
16 changed files with 504 additions and 1 deletions

View File

@@ -0,0 +1,25 @@
import { TenantModel } from "@/modules/System/models/TenantModel";
export class Currency extends TenantModel {
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;
}
}