- Prefijo v2: MCH - TRACEABILITY-MASTER.yml creado - Listo para integracion como submodulo Workspace: v2.0.0 | SIMCO: v4.0.0
31 lines
674 B
TypeScript
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;
|
|
}
|