Maxim Sokhatsky
Live
#phone
#otp
#application
#termination
#transfer
#charge
#withdraw
#client
#process
#sequenceFlow
#messageEvent #task
#serviceTask
#receiveTask
#userTask
#beginEvent
#endEvent #history
#account
#customer
#program
#card
#transaction
#cashback
#currency
#iterator
#container
#subscription
#user
#client
#config
-define(CONTAINER, id, top, count=0).
-define(ITERATOR(Container),
id, container=Container,
feed_id, prev, next, feeds=[]).
-record(feed, {?CONTAINER, aclver}).
-record(user, {?ITERATOR(feed), name, email}).
-record(product, {?ITERATOR(feed), name}).
> kvs:dir().
[{table,history},
{table,config},
{table,feed},
{table,beginEvent},
{table,account},
{table,schema},
{table,otp},...]
> #user{}.
#user{id = undefined,version = undefined,
container = feed, feed_id = undefined,
prev = undefined,next = undefined,
feeds = [],guard = true,
etc = undefined,email = undefined,
username = undefined,password = undefined,
display_name = undefined,
register_date = undefined,
tokens = [],avatar = undefined,
names = undefined, surnames = undefined,
birth = undefined,sex = undefined,
date = undefined,status = undefined,
zone = undefined, type = undefined}
By Maxim Sokhatsky