because I got bored of customising my CV for every job
1import { BaseEntity } from "@cv/system";
2
3export class Credentials extends BaseEntity {
4 constructor(
5 id: string,
6 public userId: string,
7 public email: string,
8 public password: string,
9 createdAt: Date,
10 updatedAt: Date,
11 public emailVerifiedAt: Date | null = null,
12 public emailVerificationToken: string | null = null,
13 public emailVerificationTokenExpiresAt: Date | null = null,
14 public passwordResetToken: string | null = null,
15 public passwordResetTokenExpiresAt: Date | null = null,
16 ) {
17 super(id, createdAt, updatedAt);
18 }
19}