Skip to main content

Student

Student type with student-specific fields Fields may be null if profile is incomplete

Extends

Properties

age?

optional age: null | 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?

optional experienceLevel: null | 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