Skip to main content

ActiveStudent

Student with completed profile All required fields are guaranteed to be present

Extends

Properties

age

age: number;

Student's age for appropriate content matching


createdAt

createdAt: Date;

Timestamp when the user was created

Inherited from

BaseUser.createdAt


email

email: string;

User's email address

Inherited from

BaseUser.email


experienceLevel

experienceLevel: string;

Student's coding experience level (Beginner, Intermediate, Advanced)


firstName

firstName: string;

User's first name

Inherited from

BaseUser.firstName


id

id: string;

Unique identifier generated by Prisma

Inherited from

BaseUser.id


lastName

lastName: string;

User's last name

Inherited from

BaseUser.lastName


parentEmail?

optional parentEmail: null | string;

Parent's email for notifications (optional)


role

role: STUDENT;

Student role discriminator

Overrides

BaseUser.role


timezone

timezone: string;

User's timezone

Inherited from

BaseUser.timezone


updatedAt

updatedAt: Date;

Timestamp when the user was last updated

Inherited from

BaseUser.updatedAt