added expenses resource
This commit is contained in:
parent
c6434de89d
commit
78c312f279
27 changed files with 310 additions and 86 deletions
10
src/expenses/dto/create-expense.dto.ts
Normal file
10
src/expenses/dto/create-expense.dto.ts
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import { Category } from '../../categories/entities/category.entity';
|
||||
|
||||
export class CreateExpenseDto {
|
||||
year: string;
|
||||
month: string;
|
||||
day: string;
|
||||
cents: number;
|
||||
description: string;
|
||||
category: Category
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue