michangarrito/apps/backend/dist/modules/auth/entities/user.entity.d.ts
rckrdmrd 48dea7a5d0 feat: Initial commit - michangarrito
Marketplace móvil para negocios locales mexicanos.

Estructura inicial:
- apps/backend (NestJS API)
- apps/frontend (React Web)
- apps/mobile (Expo/React Native)
- apps/mcp-server (Claude MCP Server)
- apps/whatsapp-service (WhatsApp Business API)
- database/ (PostgreSQL DDL)
- docs/ (Documentación)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-07 04:41:02 -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;
}