better dto/entity structure for GET/POST

This commit is contained in:
Joe Arndt 2026-02-25 14:33:21 -06:00
parent 8f846bd253
commit 389ef8c7ce
9 changed files with 106 additions and 77 deletions

View file

@ -18,7 +18,13 @@ export class Expense {
id: string;
@Column()
date: string;
year: number;
@Column()
month: number;
@Column()
day: number;
@Column()
cents: number;