Current section

Files

Jump to
schema include dict notification.hrl
Raw

include/dict/notification.hrl

-ifndef(NOTIFICATION_HRL).
-define(NOTIFICATION_HRL, true).
-include_lib("crm/include/erp/catalogs/employee.hrl").
-record('notification', { id = [] :: list(),
type = [] :: binary(),
content = [] :: binary(),
users = [] :: binary() | list()
}).
-record('userNotification', { id = [] :: list(),
type = [] :: binary(),
user = [] :: #'Employee'{},
created = [] :: calendar:datetime(),
proc_id = [] :: binary(),
mon_id = [] :: binary(),
doc_name = [] :: binary(),
content = [] :: binary(),
read = false :: boolean()
}).
-endif.