Updates from idk when...

This commit is contained in:
Nathan Anderson
2023-08-17 13:34:30 -06:00
parent 6fae83674b
commit 1d1b5f0620
18 changed files with 614 additions and 161 deletions
+3 -3
View File
@@ -17,7 +17,7 @@ class Transaction {
required this.type,
required this.budgetId,
this.budgetCategoryId,
required this.addedByUserId,
required this.createdByUserId,
required this.date,
this.memo,
this.createdAt,
@@ -26,7 +26,7 @@ class Transaction {
});
final int? id, budgetCategoryId;
final int budgetId, addedByUserId;
final int budgetId, createdByUserId;
final double amount;
final String? memo;
final TransactionType type;
@@ -53,7 +53,7 @@ class Transaction {
type: data['type'] ?? trans.type,
budgetId: data['budget_id'] ?? trans.budgetId,
budgetCategoryId: data['budget_category_id'] ?? trans.budgetCategoryId,
addedByUserId: data['added_by_user_id'] ?? trans.addedByUserId,
createdByUserId: data['created_by_user_id'] ?? trans.createdByUserId,
date: data['date'] ?? trans.date,
memo: data['memo'] ?? trans.memo,
createdAt: data['created_at'] ?? trans.createdAt,