diff options
Diffstat (limited to 'lib/operation.ml')
-rw-r--r-- | lib/operation.ml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/operation.ml b/lib/operation.ml index 54962fd..2e681f8 100644 --- a/lib/operation.ml +++ b/lib/operation.ml @@ -18,6 +18,12 @@ module TransactionType = struct ;; end +type client = + { id : int + ; mov_limit : int + ; balance : int + } + type transaction_payload = { value : int ; description : string @@ -28,8 +34,6 @@ type transaction_op = | `Debit of transaction_payload ] -type t = Balance of { client_id : int } - type transaction = { id : int ; client_id : int |