Files
parsshop-back/dist/modules/users/entities/user.entity.d.ts
2026-03-26 12:25:46 +03:00

19 lines
547 B
TypeScript

import { UserSession } from '../../auth/entities/user-session.entity';
import { UserRole } from '../enums/user-role.enum';
import { LoyaltyProfile } from './loyalty-profile.entity';
import { Wallet } from './wallet.entity';
export declare class User {
id: string;
phone: string;
username?: string | null;
fullName: string;
role: UserRole;
isVerified: boolean;
passwordHash?: string | null;
wallet: Wallet;
loyaltyProfile: LoyaltyProfile;
sessions: UserSession[];
createdAt: Date;
updatedAt: Date;
}