This commit is contained in:
2025-12-12 21:39:48 +01:00
parent ddbd99b747
commit cae81b1088
49 changed files with 777 additions and 269 deletions

View File

@@ -16,7 +16,7 @@ export interface SponsorAccountProps {
passwordHash: string;
companyName: string;
isActive: boolean;
createdAt?: Date;
createdAt: Date;
lastLoginAt?: Date;
}
@@ -28,7 +28,7 @@ export class SponsorAccount {
private companyName: string;
private isActive: boolean;
private readonly createdAt: Date;
private lastLoginAt?: Date;
private lastLoginAt: Date | undefined;
private constructor(props: SponsorAccountProps) {
this.id = props.id;