Current section

Files

Jump to
erp include investment.hrl
Raw

include/investment.hrl

-ifndef(INVESTMENT_HRL).
-define(INVESTMENT_HRL, true).
-include("money.hrl").
-type investmentType() :: stock | bond | mutual | index | exchange | option.
-record('Investment', { id = [] :: [] | term(),
volume = [] :: [] | money(),
price = {0,1} :: money(),
instrument = [] :: term(),
type = [] :: investmentType(),
from = [] :: term(),
to = [] :: term() }).
-endif.