-ifndef(ASSISTANT). -define(ASSISTANT, true). -record(access, {cn, msg, head}). -record(rightsDelegation, { id = [] :: list(), user = [] :: binary() | list(), delegateTo = [] :: binary() | list(), startTime = [] :: [] | calendar:datetime(), endTime = [] :: [] | calendar:datetime(), accessRules = [] :: term(), rightsDelegation = [] :: [] | boolean(), tempDutiesPerform = [] :: [] | boolean(), status = active :: active | canceled | expired, org = [] :: binary(), note = [] :: binary() }). -record(assistant, { id = [] :: list(), head = [] :: binary() | list(), assistants = [] :: binary() | list(), startTime = [] :: [] | calendar:datetime(), endTime = [] :: [] | calendar:datetime(), status = active :: active | canceled | expired }). -endif.