summaryrefslogtreecommitdiff
path: root/requirements/data_models
diff options
context:
space:
mode:
authorJoe Carstairs <jcarstairs@scottlogic.com>2025-07-15 14:06:41 +0100
committerJoe Carstairs <jcarstairs@scottlogic.com>2025-07-15 14:06:41 +0100
commitaf7920c8e9405ea0e7591907555edad3a19688c8 (patch)
treea47dab4711b79c9e871fb9448c5ecc8dfdb9ee86 /requirements/data_models
parent59d72b6c6a5f48a49fcbe91fee72eff20b9bb8d3 (diff)
edit req-030
Diffstat (limited to 'requirements/data_models')
-rw-r--r--requirements/data_models/dml-transaction.md15
1 files changed, 8 insertions, 7 deletions
diff --git a/requirements/data_models/dml-transaction.md b/requirements/data_models/dml-transaction.md
index 921eb10..b6b76f7 100644
--- a/requirements/data_models/dml-transaction.md
+++ b/requirements/data_models/dml-transaction.md
@@ -3,12 +3,13 @@
A transaction represents a real transaction, such as buying a beer or depositing
a wage slip. It may be associated with at most one bucket.
-| Field | Type | Description |
-| ------------ | ------- | -------------------------------------------------- |
-| id | string | |
-| amount | number | The amount of money involved in the transaction. |
-| date | date | The calendar date when the transaction took place. |
-| counterparty | string | The other party in the transaction. |
-| bucket_id | string? | The bucket associated with the transaction. |
+| Field | Type | Description |
+| ------------ | ------- | ---------------------------------------------------------- |
+| id | string | |
+| amount | number | The amount of money involved in the transaction. |
+| date | date | The calendar date when the transaction took place. |
+| counterparty | string | The other party in the transaction. |
+| bucket_id | string? | The bucket associated with the transaction. |
+| timestamp | number | The time the transaction was inserted as a Unix timestamp. |
Source: req-010, req-017