feat: Currencies CRUD.

This commit is contained in:
Ahmed Bouhuolia
2020-04-19 18:26:22 +02:00
parent 090c744f57
commit 8c8ec1534e
5 changed files with 321 additions and 13 deletions

View File

@@ -243,6 +243,13 @@ factory.define('option', 'options', async () => {
};
});
factory.define('currency', 'currencies', async () => {
return {
currency_name: faker.lorem.slug(),
currency_code: 'USD',
};
});
factory.define('budget', 'budgets', async () => {
return {
name: faker.lorem.slug(),