SPRINT-1 related tasks done

This commit is contained in:
VirajBrainvire
2024-04-17 18:52:58 +05:30
parent 34fcacde13
commit fbdf187ee1
40 changed files with 588 additions and 19 deletions

View File

@ -30,12 +30,23 @@ export class UserEntity extends AbstractEntity<UserDto> {
})
public lastName: string;
@Column({
nullable: true,
})
public refreshToken: string;
@Column({
nullable: true,
default: false,
})
public isUserVerified: boolean;
@Column({
nullable: false,
default: true,
})
public isActive: boolean;
constructor(partial: Partial<UserEntity>) {
super();
Object.assign(this, partial);