Current section

Files

Jump to
erp include docs internalDoc.hrl
Raw

include/docs/internalDoc.hrl

-ifndef(INTERNAL_DOC_HRL).
-define(INTERNAL_DOC_HRL, true).
-include("dict/person.hrl").
-record(internalDoc, { id= [] :: binary(),
guid= [] :: list(),
urgent=[] :: [] | boolean(),
date=[] :: [] | calendar:datetime(),
xml = [] :: [] | binary(),
hash = [] :: binary() | list(),
signature = [] :: binary() | list(),
document_type= <<"Внутрішній документ"/utf8>> :: term(),
nomenclature=[] :: term(),
executor=[] :: [] | #'Person'{},
approvers = [] :: list(#'Person'{}),
branch=[] :: [] | list(),
head=[] :: [] | #'Person'{},
content=[] :: term(),
signatory=[] :: [] | list(#'Person'{}),
target=[] :: [] | #'Person'{},
note=[] :: list(),
attachments = [] :: list(term()),
registered_by=[] :: [] | #'Person'{},
project = [] :: term(),
proc_id = [] :: list(),
created_by = [] :: term(),
created = [] :: term(),
modified_by = [] :: term(),
modified = [] :: term(),
template = [] :: term()
}).
-endif.