Skip to main content

DetailedUser

Detailed user information (includes additional fields for session context)

Extends

Properties

bio?

optional bio: string;

Tutor bio/description


createdAt

createdAt: Date;

Timestamp when the user was created

Inherited from

BaseUser.createdAt


email

email: string;

User's email address

Inherited from

BaseUser.email


firstName

firstName: string;

User's first name

Inherited from

BaseUser.firstName


hourlyRate?

optional hourlyRate: number;

Tutor hourly rate


id

id: string;

Unique identifier generated by Prisma

Inherited from

BaseUser.id


lastName

lastName: string;

User's last name

Inherited from

BaseUser.lastName


role

role: UserRole;

User's role in the system

Inherited from

BaseUser.role


studentLevel?

optional studentLevel: StudentLevel;

Student's current skill level


teachingAreas?

optional teachingAreas: string[];

Tutor's teaching specialties (e.g., ["Python", "JavaScript", "React"])


timezone

timezone: string;

User's timezone

Inherited from

BaseUser.timezone


updatedAt

updatedAt: Date;

Timestamp when the user was last updated

Inherited from

BaseUser.updatedAt