Skip to main content

Tutor

Tutor type with tutor-specific fields Note: stripeConnectId is excluded for security Fields may be null if profile is incomplete

Extends

Properties

bio?

optional bio: null | string;

Professional bio/description


bufferTime?

optional bufferTime: null | number;

Minutes of buffer time between sessions (default: 15)


createdAt

createdAt: Date;

Timestamp when the user was created

Inherited from

BaseUser.createdAt


email

email: string;

User's email address

Inherited from

BaseUser.email


expertise?

optional expertise: string[];

Array of expertise areas (e.g., ["Python", "JavaScript", "Data Science"])


firstName

firstName: string;

User's first name

Inherited from

BaseUser.firstName


hourlyRate?

optional hourlyRate: null | number;

Hourly rate in USD


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: TUTOR;

Tutor 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