12345678910111213141516171819202122232425 |
- -include("types.hrl").
- -record(invite_code, {
- code,
- create_date,
- issuer :: username_type() | '_',
- recipient,
- next,
- prev,
- created_user :: username_type() | '_'}).
- -record(invite_by_issuer, {
- user,
- top}).
- -record(invitation_tree, {
- user,
- parent,
- next_sibling = none,
- first_child = none,
- invite_code,
- children = empty
- }).
- -define(INVITATION_TREE_ROOT, {root}).
|