feat(expense): create and display expenses

This commit is contained in:
2021-11-26 01:51:13 +01:00
parent 82d86fb33f
commit 53b0b8c9a2
6 changed files with 71 additions and 24 deletions

View File

@@ -10,6 +10,7 @@ type Expense struct {
type ExpenseEditable struct {
ID string `json:"id,omitempty"`
Value float32 `json:"value"`
Libelle string `json:"libelle"`
TypeExpense string `json:"typeExpense"`
ExpenseDate time.Time `json:"expenseDate,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`