Rework Expenses resource (#3)
Co-authored-by: Joe Arndt <jmarndt@users.noreply.github.com> Reviewed-on: #3
This commit is contained in:
parent
c6434de89d
commit
6600745072
28 changed files with 317 additions and 89 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