Browse Source

missing transaction

Maxim Sokhatsky 11 years ago
parent
commit
f78a7af34c
1 changed files with 14 additions and 0 deletions
  1. 14 0
      apps/db/include/transaction.hrl

+ 14 - 0
apps/db/include/transaction.hrl

@@ -0,0 +1,14 @@
+
+-ifndef(TRANSACTION_HRL).
+-define(TRANSACTION_HRL, "transaction_hrl").
+
+-type currency() :: kakaush | quota | game_point | money.
+
+-record(transaction, {?ITERATOR(feed),
+        timestamp :: erlang:now(),
+        amount :: integer(),
+        currency :: currency(),
+        comment,
+        info}).
+
+-endif.