michangarrito/apps/backend/dist/modules/auth/entities/user.entity.d.ts
rckrdmrd 97f407c661 [MIGRATION-V2] feat: Migrar michangarrito a estructura v2
- Prefijo v2: MCH
- TRACEABILITY-MASTER.yml creado
- Listo para integracion como submodulo

Workspace: v2.0.0 | SIMCO: v4.0.0
2026-01-10 11:28:54 -06:00

31 lines
674 B
TypeScript

import { Tenant } from './tenant.entity';
export declare enum UserRole {
OWNER = "owner",
ADMIN = "admin",
EMPLOYEE = "employee"
}
export declare enum UserStatus {
ACTIVE = "active",
INACTIVE = "inactive",
SUSPENDED = "suspended"
}
export declare class User {
id: string;
tenantId: string;
phone: string;
email: string;
name: string;
pinHash: string;
biometricEnabled: boolean;
biometricKey: string;
role: string;
permissions: Record<string, unknown>;
status: string;
lastLoginAt: Date;
failedAttempts: number;
lockedUntil: Date;
createdAt: Date;
updatedAt: Date;
tenant: Tenant;
}