IUser
interface IUser {
contact: ContactInfo;
createdAt: Date;
displayName: string;
id: string;
lastLoginAt?: Date;
preferences: UserPreferences;
role: UserRole;
status: AccountStatus;
updatedAt: Date;
username: string;
}Source: User.ts:123
Base user interface
Remarks
Contains common properties shared by all user types.
Implemented By
Properties
contact: ContactInfo
Contact information
createdAt: Date
readonly
User.ts:139Account creation timestamp
displayName: string
Display name
id: string
readonly
User.ts:125Unique user identifier (UUID v4)
lastLoginAt: Date
Last login timestamp
preferences: UserPreferences
User preferences
role: UserRole
User's role in the system
status: AccountStatus
Current account status
updatedAt: Date
Last update timestamp
username: string
Username (unique, alphanumeric)