Skip to main content

Notification

A notification schema.

Attributes

Attribute NameTypeRequiredDefaultRefComments
user_idStringtrueUser
messageStringtrue
quick_link_idObjectId
link_typeStringEnum: PLAN, REVIEW, USER, DISTRIBUTION
readBooleanfalse
dateDateDate.now()

Example

{
_id: { $oid: "62365a80b8316b8b54f7785e" },
user_id: "mockUser",
message:"You have created a new plan!",
quick_link_id: "623659ddb8316b8b54f77815",
link_type:"PLAN",
read:"false"
date: { $date: "2022-03-19T22:34:40.718Z" },
__v: 0,
};