Skip to main content

Year

A plan year schema

Attributes

Attribute NameTypeRequiredDefaultRefComments
nameStringtrue
coursesObjectIdCourse
plan_idObjectIdtruePlan
user_idStringtrue
expireAtDate
uearNumberfalse

Example

{
_id: { $oid: "61cce47ca2ec790004427209" },
courses: [{ $oid: "61ccf7f4723b840004850ea3" }],
plan_id: [{ $oid: "61cce47ca2ec790004427200" }],
name: "Junior",
user_id: "guestUser",
year: 2023,
expireAt: { $date: "2021-12-30T22:43:08.312Z" },
__v: 0,
};